org.castor.cache.hashbelt.container
public interface Container extends java.util.Map<java.lang.Object,java.lang.Object>
Implementations of this interface need to be appropriately synchronized -- the implementations of the hashbelt rely on this object to be threadsafe.
Modifier and Type | Method and Description |
---|---|
long |
getTimestamp()
Returns the timestamp of this container.
|
java.util.Iterator<java.lang.Object> |
keyIterator()
Returns an iterator over the keys contained in this container.
|
void |
updateTimestamp()
Set the timestamp of this container to System.currentTimeMillis().
|
java.util.Iterator<java.lang.Object> |
valueIterator()
Returns an iterator over the values contained in this container.
|
void updateTimestamp()
long getTimestamp()
java.util.Iterator<java.lang.Object> keyIterator()
java.util.Iterator<java.lang.Object> valueIterator()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com