Class IncompleteObject<T>
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.IncompleteObject<T>
-
- Direct Known Subclasses:
IncompleteCacheObject
public class IncompleteObject<T> extends Object
Incomplete object.
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]data
-
Constructor Summary
Constructors Constructor Description IncompleteObject()Constructor.IncompleteObject(byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]data()longgetNextLink()booleanisReady()Tobject()voidobject(T obj)voidreadData(ByteBuffer buf)voidsetNextLink(long nextLink)
-
-
-
Method Detail
-
object
public T object()
- Returns:
- Cache object if ready.
-
object
public void object(T obj)
- Parameters:
obj- Cache object.
-
isReady
public boolean isReady()
- Returns:
Trueif cache object is fully assembled.
-
data
public byte[] data()
- Returns:
- Data array.
-
readData
public void readData(ByteBuffer buf)
- Parameters:
buf- Read remaining data.
-
getNextLink
public long getNextLink()
- Returns:
- Next data page link for fragmented rows.
-
setNextLink
public void setNextLink(long nextLink)
- Parameters:
nextLink- Next data page link for fragmented rows.
-
-