public interface ILeaseTimeSet<E>
extends java.util.Collection<E>
| Modifier and Type | Method and Description | 
|---|---|
| boolean | add(E e,
   long leasetime)Add a new entry. | 
| void | setRemoveCommand(ICommand<E> cmd)Set the remove cmd. | 
| void | touch(E e)Update the timestamp of e. | 
| void | touch(E e,
     long leasetime)Update the timestamp of e. | 
| boolean | update(E e)Add a new entry or update an existing entry. | 
| boolean | update(E e,
      long leasetime)Add a new entry or update an existing entry. | 
boolean add(E e, long leasetime)
e - The entry.leasetime - The leasetime.boolean update(E e)
entry - The entry.boolean update(E e, long leasetime)
entry - The entry.void touch(E e)
entry - The entry.void touch(E e, long leasetime)
entry - The entry.