- java.lang.Object
-
- org.datanucleus.store.fieldmanager.AbstractFieldManager
-
- org.datanucleus.cache.L2CachePopulateFieldManager
-
- All Implemented Interfaces:
FieldManager
public class L2CachePopulateFieldManager extends AbstractFieldManager
FieldManager responsible for populating the provided CachedPC object.
-
-
Constructor Summary
Constructors Constructor Description L2CachePopulateFieldManager(DNStateManager sm, CachedPC cachedpc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CachedPC
convertPersistableToCachedPC(Object pc)
Method to convert an embedded/serialised object to a CachedPC object for L2 caching.void
storeBooleanField(int fieldNumber, boolean value)
Method to store a boolean field value in the object at the specified field position.void
storeByteField(int fieldNumber, byte value)
Method to store a byte field value in the object at the specified field position.void
storeCharField(int fieldNumber, char value)
Method to store a char field value in the object at the specified field position.void
storeDoubleField(int fieldNumber, double value)
Method to store a double field value in the object at the specified field position.void
storeFloatField(int fieldNumber, float value)
Method to store a float field value in the object at the specified field position.void
storeIntField(int fieldNumber, int value)
Method to store an int field value in the object at the specified field position.void
storeLongField(int fieldNumber, long value)
Method to store a long field value in the object at the specified field position.void
storeObjectField(int fieldNumber, Object value)
Method to store an object field value in the object at the specified field position.void
storeShortField(int fieldNumber, short value)
Method to store a short field value in the object at the specified field position.void
storeStringField(int fieldNumber, String value)
Method to store a string field value in the object at the specified field position.-
Methods inherited from class org.datanucleus.store.fieldmanager.AbstractFieldManager
fetchBooleanField, fetchByteField, fetchCharField, fetchDoubleField, fetchFloatField, fetchIntField, fetchLongField, fetchObjectField, fetchShortField, fetchStringField
-
-
-
-
Constructor Detail
-
L2CachePopulateFieldManager
public L2CachePopulateFieldManager(DNStateManager sm, CachedPC cachedpc)
-
-
Method Detail
-
storeBooleanField
public void storeBooleanField(int fieldNumber, boolean value)
Description copied from interface:FieldManager
Method to store a boolean field value in the object at the specified field position.- Specified by:
storeBooleanField
in interfaceFieldManager
- Overrides:
storeBooleanField
in classAbstractFieldManager
- Parameters:
fieldNumber
- Number of the fieldvalue
- value to store
-
storeCharField
public void storeCharField(int fieldNumber, char value)
Description copied from interface:FieldManager
Method to store a char field value in the object at the specified field position.- Specified by:
storeCharField
in interfaceFieldManager
- Overrides:
storeCharField
in classAbstractFieldManager
- Parameters:
fieldNumber
- Number of the fieldvalue
- value to store
-
storeByteField
public void storeByteField(int fieldNumber, byte value)
Description copied from interface:FieldManager
Method to store a byte field value in the object at the specified field position.- Specified by:
storeByteField
in interfaceFieldManager
- Overrides:
storeByteField
in classAbstractFieldManager
- Parameters:
fieldNumber
- Number of the fieldvalue
- value to store
-
storeShortField
public void storeShortField(int fieldNumber, short value)
Description copied from interface:FieldManager
Method to store a short field value in the object at the specified field position.- Specified by:
storeShortField
in interfaceFieldManager
- Overrides:
storeShortField
in classAbstractFieldManager
- Parameters:
fieldNumber
- Number of the fieldvalue
- value to store
-
storeIntField
public void storeIntField(int fieldNumber, int value)
Description copied from interface:FieldManager
Method to store an int field value in the object at the specified field position.- Specified by:
storeIntField
in interfaceFieldManager
- Overrides:
storeIntField
in classAbstractFieldManager
- Parameters:
fieldNumber
- Number of the fieldvalue
- value to store
-
storeLongField
public void storeLongField(int fieldNumber, long value)
Description copied from interface:FieldManager
Method to store a long field value in the object at the specified field position.- Specified by:
storeLongField
in interfaceFieldManager
- Overrides:
storeLongField
in classAbstractFieldManager
- Parameters:
fieldNumber
- Number of the fieldvalue
- value to store
-
storeFloatField
public void storeFloatField(int fieldNumber, float value)
Description copied from interface:FieldManager
Method to store a float field value in the object at the specified field position.- Specified by:
storeFloatField
in interfaceFieldManager
- Overrides:
storeFloatField
in classAbstractFieldManager
- Parameters:
fieldNumber
- Number of the fieldvalue
- value to store
-
storeDoubleField
public void storeDoubleField(int fieldNumber, double value)
Description copied from interface:FieldManager
Method to store a double field value in the object at the specified field position.- Specified by:
storeDoubleField
in interfaceFieldManager
- Overrides:
storeDoubleField
in classAbstractFieldManager
- Parameters:
fieldNumber
- Number of the fieldvalue
- value to store
-
storeStringField
public void storeStringField(int fieldNumber, String value)
Description copied from interface:FieldManager
Method to store a string field value in the object at the specified field position.- Specified by:
storeStringField
in interfaceFieldManager
- Overrides:
storeStringField
in classAbstractFieldManager
- Parameters:
fieldNumber
- Number of the fieldvalue
- value to store
-
storeObjectField
public void storeObjectField(int fieldNumber, Object value)
Description copied from interface:FieldManager
Method to store an object field value in the object at the specified field position.- Specified by:
storeObjectField
in interfaceFieldManager
- Overrides:
storeObjectField
in classAbstractFieldManager
- Parameters:
fieldNumber
- Number of the fieldvalue
- value to store
-
-