public interface PersistenceSource<D>
| Modifier and Type | Method and Description |
|---|---|
default void |
closeSource()
Take actions to deactivate/close/destroy the source because it won't be read again.
|
default void |
prepareSource()
Prepare to read from this source.
|
one.microstream.collections.types.XGettingCollection<? extends D> |
read()
A general, unspecific read, e.g.
|
one.microstream.collections.types.XGettingCollection<? extends D> |
readByObjectIds(PersistenceIdSet[] oids) |
one.microstream.collections.types.XGettingCollection<? extends D> read() throws PersistenceExceptionTransfer
Examples:
null being returned.null.PersistenceExceptionTransfer - if a transfer error occursone.microstream.collections.types.XGettingCollection<? extends D> readByObjectIds(PersistenceIdSet[] oids) throws PersistenceExceptionTransfer
PersistenceExceptionTransferdefault void prepareSource()
default void closeSource()
Copyright © 2022 MicroStream Software. All rights reserved.