public static final class BinaryLoader.Default extends Object implements BinaryLoader, BinaryEntityDataReader, PersistenceReferenceLoader
BinaryLoader.Creator, BinaryLoader.CreatorChannelHashing, BinaryLoader.CreatorSimple, BinaryLoader.Default| Modifier and Type | Method and Description |
|---|---|
void |
acceptObjectId(long objectId) |
protected void |
addChunks(one.microstream.collections.types.XGettingCollection<? extends Binary> chunks) |
<C extends Consumer<Object>> |
collect(C collector,
long... objectIds) |
Object |
get() |
Object |
getObject(long objectId) |
Persister |
getPersister() |
protected void |
handleAllReferences(BinaryLoadItem item) |
protected void |
loadReferences(BinaryLoadItem entry) |
PersistenceRoots |
loadRoots() |
Object |
lookupObject(long objectId) |
protected PersistenceTypeHandler<Binary,Object> |
lookupTypeHandler(long tid) |
void |
readBinaryEntities(ByteBuffer entitiesData)
Expects a raw memory address pointing to the location of a entity raw binary data, starting with its header.
|
void |
registerCustomRootRefactoring(Object rootInstance,
long customRootObjectId)
Deprecated.
|
void |
registerDefaultRootRefactoring(Object rootInstance,
long defaultRootObjectId)
Deprecated.
|
void |
registerSkip(long objectId) |
void |
requireReferenceEager(long objectId) |
void |
requireReferenceLazy(long objectId) |
void |
requireRoot(Object rootInstance,
long rootObjectId) |
void |
validateType(Object object,
long objectId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitCreatorSimple, NewgetObjectRetrieverpublic final Persister getPersister()
getPersister in interface PersistenceLoadHandlerpublic void readBinaryEntities(ByteBuffer entitiesData)
BinaryEntityDataReaderreadBinaryEntities in interface BinaryEntityDataReaderentitiesData - the buffer to read fromprotected PersistenceTypeHandler<Binary,Object> lookupTypeHandler(long tid)
protected void handleAllReferences(BinaryLoadItem item)
protected void loadReferences(BinaryLoadItem entry)
public final Object lookupObject(long objectId)
lookupObject in interface PersistenceLoadHandlerlookupObject in interface PersistenceObjectLookuppublic final void requireRoot(Object rootInstance, long rootObjectId)
requireRoot in interface PersistenceLoadHandler@Deprecated public final void registerCustomRootRefactoring(Object rootInstance, long customRootObjectId)
registerCustomRootRefactoring in interface PersistenceLoadHandler@Deprecated public final void registerDefaultRootRefactoring(Object rootInstance, long defaultRootObjectId)
registerDefaultRootRefactoring in interface PersistenceLoadHandlerpublic void validateType(Object object, long objectId)
validateType in interface PersistenceLoadHandlerpublic final void acceptObjectId(long objectId)
acceptObjectId in interface PersistenceObjectIdAcceptorpublic final void requireReferenceLazy(long objectId)
public final void requireReferenceEager(long objectId)
requireReferenceEager in interface PersistenceReferenceLoaderprotected void addChunks(one.microstream.collections.types.XGettingCollection<? extends Binary> chunks)
public final Object get()
get in interface PersistenceRetrievingpublic final Object getObject(long objectId)
getObject in interface PersistenceRetrievinggetObject in interface one.microstream.reference.ObjectSwizzlingpublic final <C extends Consumer<Object>> C collect(C collector, long... objectIds)
collect in interface PersistenceRetrievingpublic PersistenceRoots loadRoots()
loadRoots in interface PersistenceLoaderpublic final void registerSkip(long objectId)
registerSkip in interface PersistenceLoaderCopyright © 2022 MicroStream Software. All rights reserved.