java.lang.Object
pt.unl.fct.di.novasys.babel.protocols.storage.operations.common.CommonOperation
Direct Known Subclasses:
CassandraOperation, PayloadOperation, ReplicatedCreateStructOperation, ReplicatedDelStructOperation, ReplicatedOperation, SmartContractOperation

public abstract class CommonOperation extends Object
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 Details

  • Constructor Details

    • CommonOperation

      public CommonOperation(CommonOperationType operationType)
      Constructs a CommonOperation with the operation type.
      Parameters:
      operationType - the operation type.
  • Method Details

    • getOperationType

      public CommonOperationType getOperationType()
      Gets the type of operation being issued.
      Returns:
      the type of operation being issued.