|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TimeSpan | |
---|---|
com.alachisoft.ncache.runtime.caching | |
com.alachisoft.ncache.web.caching | Describes com.alachisoft.ncache.web.caching package The com.alachisoft.nCache.web.caching package provides classes for caching frequently used data in a cluster This includes the Cache class, a dictionary that allows you to store arbitrary data objects, such as hash tables and data sets. |
Uses of TimeSpan in com.alachisoft.ncache.runtime.caching |
---|
Methods in com.alachisoft.ncache.runtime.caching that return TimeSpan | |
---|---|
TimeSpan |
ProviderCacheItem.getSlidingExpiration()
|
Methods in com.alachisoft.ncache.runtime.caching with parameters of type TimeSpan | |
---|---|
void |
ProviderCacheItem.setSlidingExpiration(TimeSpan slidingExpiration)
|
Uses of TimeSpan in com.alachisoft.ncache.web.caching |
---|
Fields in com.alachisoft.ncache.web.caching declared as TimeSpan | |
---|---|
static TimeSpan |
Cache.NoLockingExpiration
Disable lock expiration |
static TimeSpan |
Cache.NoSlidingExpiration
specify no siliding expiration. |
Methods in com.alachisoft.ncache.web.caching that return TimeSpan | |
---|---|
TimeSpan |
CacheItem.getSlidingExpiration()
The interval between the time the added object was last accessed and when that object expires. |
Methods in com.alachisoft.ncache.web.caching with parameters of type TimeSpan | |
---|---|
CacheItemVersion |
Cache.add(java.lang.String key,
java.lang.Object value,
CacheDependency dependency,
java.util.Date absoluteExpiration,
TimeSpan slidingExpiration,
CacheItemPriority priority)
Adds the specified item to the Cache object with dependencies, expiration and priority policies, and a delegate you can use to notify your application when the inserted item is removed from the Cache. |
java.lang.Object |
Cache.get(java.lang.String key,
TimeSpan lockTimeout,
LockHandle lockHandle,
boolean acquireLock)
Retrieves the specified item from the Cache object if it is not already locked. |
CacheItem |
Cache.getCacheItem(java.lang.String key,
TimeSpan lockTimeout,
LockHandle lockHandle,
boolean acquireLock)
Get the cache item stored in cache. |
CacheStream |
Cache.getCacheStream(java.lang.String key,
StreamMode streamMode,
java.util.Date absoluteExpiration,
TimeSpan slidingExpiration,
CacheItemPriority priority)
Get Cache Stream based on mode. |
CacheStream |
Cache.getCacheStream(java.lang.String key,
java.lang.String group,
java.lang.String subGroup,
StreamMode streamMode,
CacheDependency dependency,
java.util.Date absoluteExpiration,
TimeSpan slidingExpiration,
CacheItemPriority priority)
Get Cache Stream based on mode. |
CacheStream |
Cache.getCacheStream(java.lang.String key,
java.lang.String group,
java.lang.String subgroup,
StreamMode streamMode,
java.util.Date absoluteExpiration,
TimeSpan slidingExpiration,
CacheItemPriority priority)
Gets an instance of the CacheStream class. |
CacheItemVersion |
Cache.insert(java.lang.String key,
java.lang.Object value,
CacheDependency dependency,
java.util.Date absoluteExpiration,
TimeSpan slidingExpiration,
CacheItemPriority priority)
Inserts an object into the Cache with dependencies and expiration policies. |
boolean |
Cache.lock(java.lang.String key,
TimeSpan lockTimeout,
LockHandle lockHandle)
Acquire a lock on an item in cache. |
void |
CacheItem.setSlidingExpiration(TimeSpan slidingExpiration)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |