biz.hammurapi.cache
Interface AppendableCache
- All Superinterfaces:
- Cache, Component, Producer
- All Known Implementing Classes:
- AppendableMemoryCache
public interface AppendableCache
- extends Cache
Cache which supports addition of values and returns key for added value.
- Author:
- Pavel Vlasov
Method Summary |
java.lang.Object |
add(java.lang.Object value,
long time,
long expirationTime)
Add new value to the cache |
add
java.lang.Object add(java.lang.Object value,
long time,
long expirationTime)
- Add new value to the cache
- Parameters:
value
- time
- Time when entry was placed to the cacheexpirationTime
- Expiration time
- Returns:
- key for the value
Copyright © 2003 Hammurapi Group. All Rights Reserved.