org.opensaml.util.storage
Class ReplayCacheEntry

java.lang.Object
  extended by org.opensaml.util.storage.AbstractExpiringObject
      extended by org.opensaml.util.storage.ReplayCacheEntry
All Implemented Interfaces:
Serializable, ExpiringObject

public class ReplayCacheEntry
extends AbstractExpiringObject
implements Serializable

Replay cache storage service entry.

See Also:
Serialized Form

Field Summary
private  String messageId
          ID of the message that may not be replayed.
private static long serialVersionUID
          Serial version UID.
 
Constructor Summary
ReplayCacheEntry(String id, org.joda.time.DateTime expiration)
          Constructor.
 
Method Summary
 String getMessageId()
          Gets the ID of the message that may not be replayed.
 
Methods inherited from class org.opensaml.util.storage.AbstractExpiringObject
getExpirationTime, isExpired, onExpire
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values

messageId

private String messageId
ID of the message that may not be replayed.

Constructor Detail

ReplayCacheEntry

public ReplayCacheEntry(String id,
                        org.joda.time.DateTime expiration)
Constructor.

Parameters:
id - ID of the message that may not be replayed
expiration - time when this entry expires
Method Detail

getMessageId

public String getMessageId()
Gets the ID of the message that may not be replayed.

Returns:
ID of the message that may not be replayed


Copyright © 1999-2013. All Rights Reserved.