Class CommonOperation
java.lang.Object
pt.unl.fct.di.novasys.babel.protocols.storage.operations.common.CommonOperation
- Direct Known Subclasses:
CassandraOperation,PayloadOperation,ReplicatedCreateStructOperation,ReplicatedDelStructOperation,ReplicatedOperation,SmartContractOperation
An abstract class representing an operation issued to the storage layer. This
class is common to all operation issued by the application and solely
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCommonOperation(CommonOperationType operationType) Constructs a CommonOperation with the operation type. -
Method Summary
Modifier and TypeMethodDescriptionGets the type of operation being issued.
-
Field Details
-
operationType
-
-
Constructor Details
-
CommonOperation
Constructs a CommonOperation with the operation type.- Parameters:
operationType- the operation type.
-
-
Method Details
-
getOperationType
Gets the type of operation being issued.- Returns:
- the type of operation being issued.
-