at_commons library

Classes

AtBuffer<T>
Class holder for message of different data types(int, String etc.,)
AtCompactionConfig
AtKey
AtValue
BatchRequest
BatchResponse
ByteBuffer
Metadata
Response
StringBuffer
UpdateParams
VerbSyntax
VerbUtil

Constants

AT_CRAM_SECRET → const String
AT_CRAM_SECRET_DELETED → const String
AT_DIGEST → const String
AT_ENCRYPTION_PRIVATE_KEY → const String
AT_ENCRYPTION_PUBLIC_KEY → const String
AT_ENCRYPTION_SELF_KEY → const String
AT_ENCRYPTION_SHARED_KEY → const String
AT_FROM_COMMIT_SEQUENCE → const String
AT_KEY → const String
AT_OPERATION → const String
AT_PKAM_PRIVATE_KEY → const String
AT_PKAM_PUBLIC_KEY → const String
AT_PKAM_SIGNATURE → const String
AT_REGEX → const String
AT_SIGN → const String
AT_SIGNING_KEYPAIR_GENERATED → const String
AT_SIGNING_PRIVATE_KEY → const String
AT_SIGNING_PUBLIC_KEY → const String
AT_STAT_ID → const String
AT_TTB → const String
AT_TTL → const String
AT_TTR → const String
AT_VALUE → const String
AT_VALUE_REFERENCE → const String
CACHED → const String
CCD → const String
CREATED_AT → const String
EPOCH_MILLIS → const String
error_codes → const Map
error_description → const Map
FIRST_BYTE → const String
FOR_AT_SIGN → const String
FROM → const String
FROM_AT_SIGN → const String
ID → const String
IS_BINARY → const String
IS_ENCRYPTED → const String
IS_PUBLIC → const String
KEY → const String
LATEST_N → const String
MESSAGE_TYPE → const String
NOTIFICATION → const String
NOTIFIER → const String
OPERATION → const String
PRIORITY → const String
PUBLIC_DATA_SIGNATURE → const String
REFRESH_AT → const String
SHARED_KEY_STATUS → const String
STRATEGY → const String
SYSTEM → const String
TO → const String
TO_AT_SIGN → const String
UPDATE_ALL → const String
UPDATE_JSON → const String
UPDATE_META → const String
UPDATED_AT → const String
VALUE → const String

Exceptions / Errors

AtBufferOverFlowException
AtConnectException
Parent exception for any connection specific exception
AtException
AtIOException
Raised when there is any issue related to socket operations e.g read/write
AtServerException
Raised for critical issue during secondary or root server startup operation
BlockedConnectionException
Thrown if the atsign is in blocklist.
BufferOverFlowException
ConnectionInvalidException
Thrown when trying to perform a read/write on a connection which is invalid
HandShakeException
Thrown when a handshake to another secondary server fails
IllegalArgumentException
Throws when user inputs invalid arguments
InboundConnectionLimitException
Thrown when current server's inbound connection limit is reached
InternalServerError
Thrown for any unhandled server error
InternalServerException
Thrown for any unhandled server exception
InvalidAtSignException
Thrown if the atSign is invalid
InvalidSyntaxException
Thrown for invalid syntax before executing a verb.
KeyNotFoundException
Throws when users tries to perform an invalid operation.
LookupException
Thrown when lookup fails after handshake
OutBoundConnectionInvalidException
Thrown when trying to perform a read/write on an outbound connection which is invalid
OutboundConnectionLimitException
Thrown when current server's outbound connection limit is reached
SecondaryConnectException
Thrown when a user's secondary url cannot be reached or unavailable
SecondaryNotFoundException
Thrown when a user's secondary server is not found
UnAuthenticatedException
Thrown when trying to perform a verb execution which requires authentication
UnAuthorizedException
Thrown when trying to execute a command with authorization e.g Performing a lookup without a proper handshake to another secondary