Package net.spy.memcached
Class CachedData
java.lang.Object
net.spy.memcached.CachedData
Cached data with its attributes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe maximum size that should be considered storing in a server. -
Constructor Summary
ConstructorsConstructorDescriptionCachedData(int f, byte[] d, int maxSize) Get a CachedData instance for the given flags and byte array. -
Method Summary
-
Field Details
-
MAX_SIZE
public static final int MAX_SIZEThe maximum size that should be considered storing in a server.- See Also:
-
-
Constructor Details
-
CachedData
public CachedData(int f, byte[] d, int maxSize) Get a CachedData instance for the given flags and byte array.- Parameters:
f- the flagsd- the datamaxSize- the maximum allowable size.
-
-
Method Details