Class UnixFSTransactionProgram
java.lang.Object
dev.getelements.elements.rt.transact.unix.UnixFSTransactionProgram
-
Method Summary
Modifier and TypeMethodDescriptioncommit()Commits thisUnixFSTransactionProgramby calculating the checksum and setting it'sGets the program'sByteBuffer.Creates and instance ofUnixFSTransactionProgramInterpreterto load the program in-memory and subsequently execute the program.booleanisValid()Checks if thisUnixFSTransactionProgram's header is valid.
-
Method Details
-
getByteBuffer
Gets the program'sByteBuffer.- Returns:
- the
ByteBuffer
-
commit
Commits thisUnixFSTransactionProgramby calculating the checksum and setting it's -
isValid
public boolean isValid()Checks if thisUnixFSTransactionProgram's header is valid.- Returns:
-
interpreter
Creates and instance ofUnixFSTransactionProgramInterpreterto load the program in-memory and subsequently execute the program.- Returns:
- the
UnixFSTransactionProgramInterpreter, or a cached instance.
-