public class CacheObjectRecord extends AbstractCacheRecord<Object>
CacheRecord
which has an internal object format.Modifier and Type | Field and Description |
---|---|
protected Object |
value |
expirationTime
Constructor and Description |
---|
CacheObjectRecord() |
Modifier and Type | Method and Description |
---|---|
Object |
getValue() |
void |
readData(ObjectDataInput in)
Reads fields from the input stream
|
void |
setValue(Object value) |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream
|
getExpirationTime, isExpiredAt, setExpirationTime
protected Object value
public Object getValue()
public void setValue(Object value)
public void writeData(ObjectDataOutput out) throws IOException
DataSerializable
writeData
in interface DataSerializable
writeData
in class AbstractCacheRecord<Object>
out
- outputIOException
public void readData(ObjectDataInput in) throws IOException
DataSerializable
readData
in interface DataSerializable
readData
in class AbstractCacheRecord<Object>
in
- inputIOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.