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 booleanisWritable()voidvalidateIsWritable()voidwrite(Binary chunk)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.microstream.persistence.types.PersistenceTarget
closeTarget, prepareTargetMethods inherited from interface one.microstream.persistence.types.PersistenceWriteController
isStoringEnabled, validateIsStoringEnabled
-
Constructor Details
-
Method Details
-
write
- Specified by:
writein interfacePersistenceTarget<Binary>- Throws:
PersistenceExceptionTransfer
-
validateIsWritable
public final void validateIsWritable()- Specified by:
validateIsWritablein interfaceWriteController
-
isWritable
public final boolean isWritable()- Specified by:
isWritablein interfaceWriteController
-