Enum Class ClusterEventType
java.lang.Object
java.lang.Enum<ClusterEventType>
org.gcube.informationsystem.resourceregistry.cluster.ClusterEventType
- All Implemented Interfaces:
Serializable,Comparable<ClusterEventType>,Constable
The kinds of event broadcast across service instances over the
ClusterEventBus.
Adding a new kind here is the whole cost of adding a new cross-instance signal: the bus itself, its two transport channels, and its de-duplication are shared by every kind. In particular, a new kind does not cost an additional permanently-reserved OrientDB session, which is what a per-concern Live Query subscription would cost.
- Author:
- Luca Frosini (ISTI - CNR)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAnODatabasePoolmust be discarded because the permission state it authenticated with is now stale.The Type schema changed (a Type was created, updated, or deleted), so every projection derived from it — the Redis type cache, the model knowledge, the generated documentation — is now out of date. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClusterEventTypeReturns the enum constant of this class with the specified name.static ClusterEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POOL_INVALIDATION
AnODatabasePoolmust be discarded because the permission state it authenticated with is now stale. Payload: the affected Context UUID, as a string. -
SCHEMA_CHANGE
The Type schema changed (a Type was created, updated, or deleted), so every projection derived from it — the Redis type cache, the model knowledge, the generated documentation — is now out of date. Payload: the schema version the emitting instance had just written, as a string.
-
-
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
-