Enum Class ReplicatedStructuresOperations
java.lang.Object
java.lang.Enum<ReplicatedStructuresOperations>
pt.unl.fct.di.novasys.babel.protocols.storage.datatypes.ReplicatedStructuresOperations
- All Implemented Interfaces:
Serializable,Comparable<ReplicatedStructuresOperations>,Constable
An enumerator that contains the set of generic replicated data structures
available in the library, as well as the operations allowed for each one.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAn enumerator containing the replicated data structures available in the library.static enumAn enumerator containing the generic operations available on top of the replicated data structures.Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionGets the replicated data type associated with the operation.Gets the operation being performed on the data structure.Returns the enum constant of this class with the specified name.static ReplicatedStructuresOperations[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SET_ADD
-
SET_REMOVE
-
SET_LOOKUP
-
SET_ITERATOR
-
MAP_PUT
-
MAP_GET
-
MAP_DEL
-
MAP_ITERATOR
-
REGISTER_ASSIGN
-
REGISTER_GET
-
COUNTER_INC
-
COUNTER_DEC
-
COUNTER_GET
-
LIST_INSERT_AT
-
LIST_GET_AT
-
LIST_REMOVE_AT
-
LIST_GET
-
FLAG_ENABLE
-
FLAG_DISABLE
-
FLAG_GET
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getDataType
Gets the replicated data type associated with the operation.- Returns:
- the replicated data type associated with the operation.
-
OperationType
Gets the operation being performed on the data structure.- Returns:
- the operation being performed on the data structure.
-