Package org.apache.zookeeper.server
Class ResponseCache
- java.lang.Object
-
- org.apache.zookeeper.server.ResponseCache
-
public class ResponseCache extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_RESPONSE_CACHE_SIZE
-
Constructor Summary
Constructors Constructor Description ResponseCache(int cacheSize, java.lang.String requestType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
get(java.lang.String key, Stat stat)
int
getCacheSize()
boolean
isEnabled()
void
put(java.lang.String path, byte[] data, Stat stat)
-
-
-
Field Detail
-
DEFAULT_RESPONSE_CACHE_SIZE
public static final int DEFAULT_RESPONSE_CACHE_SIZE
- See Also:
- Constant Field Values
-
-