org.openspaces.memcached
Class SpaceCache
java.lang.Object
org.openspaces.memcached.SpaceCache
public class SpaceCache
- extends Object
- Author:
- kimchy (shay.banon)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THIRTY_DAYS
public static final int THIRTY_DAYS
- See Also:
- Constant Field Values
started
protected final AtomicLong started
getCmds
protected final AtomicLong getCmds
setCmds
protected final AtomicLong setCmds
getHits
protected final AtomicLong getHits
getMisses
protected final AtomicLong getMisses
SpaceCache
public SpaceCache(GigaSpace space)
delete
public SpaceCache.DeleteResponse delete(Key key,
int time)
add
public SpaceCache.StoreResponse add(LocalCacheElement e)
replace
public SpaceCache.StoreResponse replace(LocalCacheElement e)
append
public SpaceCache.StoreResponse append(LocalCacheElement cacheElement)
prepend
public SpaceCache.StoreResponse prepend(LocalCacheElement cacheElement)
set
public SpaceCache.StoreResponse set(LocalCacheElement e)
cas
public SpaceCache.StoreResponse cas(Long cas_key,
LocalCacheElement e)
get_add
public Integer get_add(Key key,
int mod)
get
public LocalCacheElement[] get(Key... keys)
flush_all
public boolean flush_all()
flush_all
public boolean flush_all(int expire)
close
public void close()
throws IOException
- Throws:
IOException
getCurrentItems
public long getCurrentItems()
getLimitMaxBytes
public long getLimitMaxBytes()
getCurrentBytes
public long getCurrentBytes()
getGetCmds
public long getGetCmds()
getSetCmds
public long getSetCmds()
getGetHits
public long getGetHits()
getGetMisses
public long getGetMisses()
stat
public Map<String,Set<String>> stat(String arg)
asyncEventPing
public void asyncEventPing()
Copyright © GigaSpaces.