com.artima.place.attribute
Class LinkIntegrity

java.lang.Object
  |
  +--com.artima.place.attribute.LinkIntegrity
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class LinkIntegrity
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

Entry holding information for optimizing referential integrity. The contract should be like the cache-control response header of HTTP 1.1

See Also:
Serialized Form

Constructor Summary
LinkIntegrity(int interval)
          Constructs a new LinkIntegrity with passed interval.
 
Method Summary
 int getPreferredInterval()
          Returns the preferred interval between consecutive updates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkIntegrity

public LinkIntegrity(int interval)
Constructs a new LinkIntegrity with passed interval.
Parameters:
the - preferred interval in milliseconds
Method Detail

getPreferredInterval

public int getPreferredInterval()
Returns the preferred interval between consecutive updates.
Returns:
preferred interval for this Link