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