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

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
 

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 © 2006-2013 Internet2. All Rights Reserved.