Class BinaryFileSource
- java.lang.Object
-
- one.microstream.persistence.binary.internal.BinaryFileSource
-
- All Implemented Interfaces:
MessageWaiter,PersistenceSource<Binary>
public class BinaryFileSource extends Object implements PersistenceSource<Binary>, MessageWaiter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BinaryFileSourceNew(one.microstream.afs.types.AFile file, boolean switchByteOrder)one.microstream.collections.types.XGettingCollection<? extends Binary>read()one.microstream.collections.types.XGettingCollection<? extends Binary>readByObjectIds(PersistenceIdSet[] oids)voidwaitForBytes(int readCount)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface one.microstream.persistence.types.PersistenceSource
closeSource, prepareSource
-
-
-
-
Method Detail
-
New
public static final BinaryFileSource New(one.microstream.afs.types.AFile file, boolean switchByteOrder)
-
read
public one.microstream.collections.types.XGettingCollection<? extends Binary> read() throws PersistenceExceptionTransfer
- Specified by:
readin interfacePersistenceSource<Binary>- Throws:
PersistenceExceptionTransfer
-
readByObjectIds
public one.microstream.collections.types.XGettingCollection<? extends Binary> readByObjectIds(PersistenceIdSet[] oids) throws PersistenceExceptionTransfer
- Specified by:
readByObjectIdsin interfacePersistenceSource<Binary>- Throws:
PersistenceExceptionTransfer
-
waitForBytes
public void waitForBytes(int readCount)
- Specified by:
waitForBytesin interfaceMessageWaiter
-
-