Class IncompleteCacheObject
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.IncompleteObject<CacheObject>
-
- org.apache.ignite.internal.processors.cache.IncompleteCacheObject
-
public class IncompleteCacheObject extends IncompleteObject<CacheObject>
Cache object container that accumulates partial binary data unless all of them ready.
-
-
Field Summary
Fields Modifier and Type Field Description static intHEAD_LEN4 bytes - cache object length, 1 byte - type.-
Fields inherited from class org.apache.ignite.internal.processors.cache.IncompleteObject
data
-
-
Constructor Summary
Constructors Constructor Description IncompleteCacheObject(ByteBuffer buf)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadData(ByteBuffer buf)bytetype()-
Methods inherited from class org.apache.ignite.internal.processors.cache.IncompleteObject
data, getNextLink, isReady, object, object, setNextLink
-
-
-
-
Field Detail
-
HEAD_LEN
public static final int HEAD_LEN
4 bytes - cache object length, 1 byte - type.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IncompleteCacheObject
public IncompleteCacheObject(ByteBuffer buf)
- Parameters:
buf- Byte buffer.
-
-
Method Detail
-
readData
public void readData(ByteBuffer buf)
- Overrides:
readDatain classIncompleteObject<CacheObject>- Parameters:
buf- Read remaining data.
-
type
public byte type()
- Returns:
- Data type.
-
-