Package com.scaleout.client.caching
Enum Class RequestStatus
- All Implemented Interfaces:
Serializable
,Comparable<RequestStatus>
,Constable
The RequestStatus
provides details on the status of a caching request.
For example, a read request that completes successfully will return RequestStatus.ObjectRetrieved.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe client requested authorization for a request which does not require authorization.The ScaleOut cache was cleared of all objects.Note, requires GeoServer Pro.Note, requires GeoServer Pro.Note, requires GeoServer Pro.Note, requires GeoServer Pro.Note, requires GeoServer Pro.An exclusive lock timed out and then locked by another client.The ScaleOut store ran out of memory.The client is not authorized to perform an operation.The request is not implemented.The client is not licensed to perform an operation.The ScaleOut store is not ready to perform the operation.An object was added to the ScaleOut cache.An object was added with an exclusive lock to the ScaleOut cache.An object was already locked by another client.A general error occurred within the request.The object already exists in the cache.An object in the ScaleOut cache was locked for exclusive access.The ScaleOut cache did not contain the request object.A cached object was removed from a ScaleOut cache.An object was retrieved from the ScaleOut cache.An object was retrieved from the ScaleOut cache and locked for exclusive access.An object in the ScaleOut cache was unlocked.An object was updated in the ScaleOut cache.An object was updated and an exclusive lock was retained by the requester.An object was updated and an exclusive lock was released.The version supplied didn't match the version in the store.The caching operation failed.Note, requires GeoServer Pro.The read request is pending.The cache operation completed successfully.The request timed out.The ScaleOut cache rejected the request because the client was invalid.The event channel was established against an older version of the server. -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestStatus
Returns the enum constant of this class with the specified name.static RequestStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Success
The cache operation completed successfully. -
ObjectRemoved
A cached object was removed from a ScaleOut cache. -
ObjectAdded
An object was added to the ScaleOut cache. -
ObjectAddedAndLocked
An object was added with an exclusive lock to the ScaleOut cache. -
ObjectUpdated
An object was updated in the ScaleOut cache. -
ObjectUpdatedAndLockRetained
An object was updated and an exclusive lock was retained by the requester. -
ObjectUpdatedAndUnlocked
An object was updated and an exclusive lock was released. -
CacheCleared
The ScaleOut cache was cleared of all objects. -
ObjectRetrieved
An object was retrieved from the ScaleOut cache. -
ObjectLocked
An object in the ScaleOut cache was locked for exclusive access. -
ObjectRetrievedAndLocked
An object was retrieved from the ScaleOut cache and locked for exclusive access. -
ObjectAlreadyLocked
An object was already locked by another client. -
LockLostError
An exclusive lock timed out and then locked by another client. -
ObjectUnlocked
An object in the ScaleOut cache was unlocked. -
GeoServerSuccessfulObjectTakeover
Note, requires GeoServer Pro. The local ScaleOut cache successfully took over object ownership from a remote ScaleOut cache. -
GeoServerStaleRead
Note, requires GeoServer Pro. The local ScaleOut cache successfully retrieved an object and that object is stale. -
ObjectError
A general error occurred within the request. Retry the request. -
NoMemory
The ScaleOut store ran out of memory. This can typically be addressed by adding more memory to each ScaleOut host. -
ObjectNotFound
The ScaleOut cache did not contain the request object. -
WrongClient
The ScaleOut cache rejected the request because the client was invalid. Retry the request. -
NotLicensed
The client is not licensed to perform an operation. -
NotReady
The ScaleOut store is not ready to perform the operation. Retry the request. -
Timeout
The request timed out. Retry the request. -
ReadPending
The read request is pending. Retry the request. -
ObjectVersionMismatch
The version supplied didn't match the version in the store. -
ObjectExists
The object already exists in the cache. -
AuthNotNeeded
The client requested authorization for a request which does not require authorization. -
NotAuthorized
The client is not authorized to perform an operation. -
GeoServerRemoteAccessError
Note, requires GeoServer Pro. The local ScaleOut store cannot access a remote ScaleOut store. -
GeoServerNoActiveRemoteStore
Note, requires GeoServer Pro. The local ScaleOut store has no active remote ScaleOut store. -
GeoServerLocalNameNotSet
Note, requires GeoServer Pro. The local ScaleOut store does not have GeoServer configured. -
ProxyFound
Note, requires GeoServer Pro. The local ScaleOut cache returned the proxy version of an object. -
NotImplemented
The request is not implemented. This can occur if the client is newer than the server. -
WrongEpoch
The event channel was established against an older version of the server. Recreate the event channel. -
OperationFailed
The caching operation failed. Retry the request.
-
-
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
-