Package one.microstream.jdk8.java.util
Class BinaryHandlerStack
- java.lang.Object
-
- one.microstream.persistence.types.PersistenceTypeHandler.Abstract<Binary,T>
-
- one.microstream.persistence.binary.types.BinaryTypeHandler.Abstract<T>
-
- one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom<T>
-
- one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomCollection<T>
-
- one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomIterable<T>
-
- one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomIterableSizedArray<Stack<?>>
-
- one.microstream.jdk8.java.util.BinaryHandlerStack
-
- All Implemented Interfaces:
BinaryTypeHandler<Stack<?>>
,PersistenceTypeDefinition
,PersistenceTypeDescription
,PersistenceTypeHandler<Binary,Stack<?>>
,PersistenceTypeIdentity
,PersistenceTypeIdOwner
,PersistenceTypeLink
public final class BinaryHandlerStack extends AbstractBinaryHandlerCustomIterableSizedArray<Stack<?>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface one.microstream.persistence.binary.types.BinaryTypeHandler
BinaryTypeHandler.Abstract<T>
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
PersistenceTypeDefinition.Default
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
PersistenceTypeDescription.Identity
-
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
PersistenceTypeHandler.Abstract<M,T>
-
-
Constructor Summary
Constructors Constructor Description BinaryHandlerStack()
-
Method Summary
Modifier and Type Method Description Stack<?>
create(Binary bytes, PersistenceObjectIdResolver idResolver)
void
iterateInstanceReferences(Stack<?> instance, PersistenceFunction iterator)
void
iterateLoadableReferences(Binary bytes, PersistenceObjectIdAcceptor iterator)
static BinaryHandlerStack
New(PersistenceSizedArrayLengthController controller)
void
store(Binary bytes, Stack<?> instance, long objectId, PersistenceStoreHandler handler)
void
update(Binary bytes, Stack<?> instance, PersistenceObjectIdResolver idResolver)
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustomCollection
hasInstanceReferences, hasPersistedReferences, hasPersistedVariableLength, hasVaryingPersistedLengthInstances
-
Methods inherited from class one.microstream.persistence.binary.internal.AbstractBinaryHandlerCustom
allMembers, bytes, chars, complete, Complex, CustomField, CustomField, CustomFields, defineValueType, instanceMembers, isPrimitiveType, iterateMemberTypes, keyValuesFields, membersPersistedLengthMaximum, membersPersistedLengthMinimum, SimpleArrayFields, SizedArrayFields
-
Methods inherited from class one.microstream.persistence.binary.types.BinaryTypeHandler.Abstract
declaredField, declaredField
-
Methods inherited from class one.microstream.persistence.types.PersistenceTypeHandler.Abstract
declaredField, declaredFields, initialize, toString, type, typeId, typeName, validateAndImmure
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDefinition
runtimeTypeName, toRuntimeTypeIdentifier, typeId, typeName
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeDescription
toTypeIdentifier
-
Methods inherited from interface one.microstream.persistence.types.PersistenceTypeHandler
collectEnumConstants, getPersistedEnumOrdinal, guaranteeSpecificInstanceViablity, guaranteeSubTypeInstanceViablity, initialize, isSpecificInstanceViable, isSubTypeInstanceViable, membersInDeclaredOrder, settingMembers, storingMembers, type
-
-
-
-
Method Detail
-
New
public static BinaryHandlerStack New(PersistenceSizedArrayLengthController controller)
-
store
public final void store(Binary bytes, Stack<?> instance, long objectId, PersistenceStoreHandler handler)
- Specified by:
store
in interfacePersistenceTypeHandler<Binary,Stack<?>>
- Specified by:
store
in classAbstractBinaryHandlerCustom<Stack<?>>
-
create
public final Stack<?> create(Binary bytes, PersistenceObjectIdResolver idResolver)
- Specified by:
create
in interfacePersistenceTypeHandler<Binary,Stack<?>>
- Specified by:
create
in classAbstractBinaryHandlerCustom<Stack<?>>
-
update
public final void update(Binary bytes, Stack<?> instance, PersistenceObjectIdResolver idResolver)
- Specified by:
update
in interfacePersistenceTypeHandler<Binary,Stack<?>>
- Overrides:
update
in classAbstractBinaryHandlerCustom<Stack<?>>
-
iterateInstanceReferences
public final void iterateInstanceReferences(Stack<?> instance, PersistenceFunction iterator)
- Specified by:
iterateInstanceReferences
in interfacePersistenceTypeHandler<Binary,Stack<?>>
- Overrides:
iterateInstanceReferences
in classAbstractBinaryHandlerCustomIterable<Stack<?>>
-
iterateLoadableReferences
public final void iterateLoadableReferences(Binary bytes, PersistenceObjectIdAcceptor iterator)
-
-