Class BinaryWriterHandles
- java.lang.Object
-
- org.apache.ignite.internal.binary.BinaryWriterHandles
-
public class BinaryWriterHandles extends Object
Writer handles. Aimed to delay hash map allocation for some time until it is clearly evident that it is needed.
-
-
Field Summary
Fields Modifier and Type Field Description static intPOS_NULLValue denoting null position.
-
Constructor Summary
Constructors Constructor Description BinaryWriterHandles()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intput(Object obj, int pos)Put object to registry and return previous position (if any).
-
-
-
Field Detail
-
POS_NULL
public static final int POS_NULL
Value denoting null position.- See Also:
- Constant Field Values
-
-
Method Detail
-
put
public int put(Object obj, int pos)
Put object to registry and return previous position (if any).- Parameters:
obj- Object.pos- Position.- Returns:
- Old position.
-
-