Class BinaryFileTarget
java.lang.Object
one.microstream.persistence.binary.internal.BinaryFileTarget
- All Implemented Interfaces:
WriteController
,PersistenceTarget<Binary>
,PersistenceWriteController
public class BinaryFileTarget extends Object implements PersistenceTarget<Binary>
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.persistence.types.PersistenceWriteController
PersistenceWriteController.Disabled, PersistenceWriteController.Enabled, PersistenceWriteController.Wrapper
-
Constructor Summary
Constructors Constructor Description BinaryFileTarget(AFile file)
-
Method Summary
Modifier and Type Method Description boolean
isWritable()
void
validateIsWritable()
void
write(Binary chunk)
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.PersistenceTarget
closeTarget, prepareTarget
Methods inherited from interface one.microstream.persistence.types.PersistenceWriteController
isStoringEnabled, validateIsStoringEnabled
-
Constructor Details
-
Method Details
-
write
- Specified by:
write
in interfacePersistenceTarget<Binary>
- Throws:
PersistenceExceptionTransfer
-
validateIsWritable
public final void validateIsWritable()- Specified by:
validateIsWritable
in interfaceWriteController
-
isWritable
public final boolean isWritable()- Specified by:
isWritable
in interfaceWriteController
-