Index

A B C D F G I L M N O R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACQUIRE - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
POST {namespace, ownerKey, incarnation, limit, ttlMs, toleranceMs, slotOffset?, preferredSlot?} → the lease and reason, duplicateOwnerKey; exhausted: 409.

B

BAD_REQUEST - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
400: a parameter is missing or out of its limits.
baseUrl() - Method in class me.ahoo.cosid.store.remote.RemoteStore
The server.
BUSY - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
503: the blocking pool is full; the response carries Retry-After: 1.

C

close() - Method in class me.ahoo.cosid.store.remote.RemoteStore
Closes the HTTP client.
code() - Method in exception class me.ahoo.cosid.store.remote.RemoteStoreException
The error code (RemoteApi).

D

DEFAULT_CONNECT_TIMEOUT - Static variable in class me.ahoo.cosid.store.remote.RemoteStore
The connect timeout when none is configured.

F

FORBIDDEN - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
403: the token may not use that namespace or key.

G

GENERATOR_DISABLED - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
409: the generator is disabled.

I

IDS - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
GET ?count=n → {ids: [...]}, from the generator named default; /{generator} names another.

L

LEASE_LOST - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
409: the owner or fence of the lease no longer match (renew, release).

M

me.ahoo.cosid.store.remote - package me.ahoo.cosid.store.remote
 
METHOD_NOT_ALLOWED - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
405: the path takes another method.

N

NAMESPACE_MISMATCH - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
409: the namespace was first used with another limit, tolerance or slot offset.
NOT_FOUND - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
404: no such path or generator.

O

open(StoreConfig) - Method in class me.ahoo.cosid.store.remote.RemoteStoreProvider
 
options() - Method in class me.ahoo.cosid.store.remote.RemoteStoreProvider
 

R

RANGE_EXHAUSTED - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
422: the range would pass Long.MAX_VALUE.
RANGE_SEALED - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
410: the range key is sealed.
ranges() - Method in class me.ahoo.cosid.store.remote.RemoteStore
 
RELEASE - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
POST {namespace, slot, ownerKey, incarnation, fence, expiresAt?, floor?, ceiling?, storeNow?, lastIssued} → 204; lost: 409.
RemoteApi - Class in me.ahoo.cosid.store.remote
The HTTP API (no version prefix, D30) of cosid-server (08-remote.md §2): the paths, the error codes of the error body {code, message} and the field names both sides use.
RemoteStore - Class in me.ahoo.cosid.store.remote
The remote store (06-stores.md §2.5, 08-remote.md): both primitives as calls to cosid-server, which runs them on its own backing store.
RemoteStore(URI, Optional<String>, Duration, Duration) - Constructor for class me.ahoo.cosid.store.remote.RemoteStore
A store on a server.
RemoteStoreException - Exception Class in me.ahoo.cosid.store.remote
A call to cosid-server failed: the server answered with an error the primitive has no outcome for (a 401, 403, 429, 503, 5xx, ...), or the call itself failed (connection, timeout).
RemoteStoreException(int, String, String) - Constructor for exception class me.ahoo.cosid.store.remote.RemoteStoreException
An error the server answered.
RemoteStoreException(int, String, String, Throwable) - Constructor for exception class me.ahoo.cosid.store.remote.RemoteStoreException
An error the server answered, with a cause on this side, such as the StoreTimeoutException of a store_timeout.
RemoteStoreException(String, Throwable) - Constructor for exception class me.ahoo.cosid.store.remote.RemoteStoreException
A call that got no answer.
RemoteStoreProvider - Class in me.ahoo.cosid.store.remote
Opens RemoteStores, type "remote" (06-stores.md §1), registered with ServiceLoader.
RemoteStoreProvider() - Constructor for class me.ahoo.cosid.store.remote.RemoteStoreProvider
 
RENEW - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
POST {namespace, slot, ownerKey, incarnation, fence, expiresAt?, floor?, ceiling?, storeNow?, ttlMs, toleranceMs} → the lease; lost: 409.
RESERVE - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
POST {key, size, initialOffset} → {start, end}; sealed: 410.

S

SEAL - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
POST {key} → 204; 501 when the backing store cannot seal.
SEAL_UNSUPPORTED - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
501: the backing store cannot seal keys.
slots() - Method in class me.ahoo.cosid.store.remote.RemoteStore
 
SLOTS_EXHAUSTED - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
409: every slot below the limit is held; the body also carries earliestExpiresAt.
status() - Method in exception class me.ahoo.cosid.store.remote.RemoteStoreException
The HTTP status.
STORE_ERROR - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
500: the backing store failed.
STORE_TIMEOUT - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
504: the backing store timed out; the client reports a StoreTimeoutException cause.

T

TOO_MANY_KEYS - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
429: the client already uses as many range keys in the namespace as the server allows.
TOO_MANY_NAMESPACES - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
429: the client already uses range keys in as many namespaces as the server allows.
transientFailure() - Method in exception class me.ahoo.cosid.store.remote.RemoteStoreException
Whether calling again later may succeed: the server was busy (503), its store timed out (504), or it did not answer.
type() - Method in class me.ahoo.cosid.store.remote.RemoteStoreProvider
 
TYPE - Static variable in class me.ahoo.cosid.store.remote.RemoteStoreProvider
The store type.

U

UNAUTHORIZED - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
401: no token, or an unknown one.
UNSUPPORTED - Static variable in class me.ahoo.cosid.store.remote.RemoteApi
501: the backing store lacks the primitive.
A B C D F G I L M N O R S T U 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form