Index

A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

accepted() - Method in record class com.tuladb.LedgerClient.TxnStatus
Returns the value of the accepted record component.
ACCOUNT_BALANCE_ROW_SIZE - Static variable in class com.tuladb.Codec
 
ACCOUNT_CREATE_SIZE - Static variable in class com.tuladb.Codec
 
ACCOUNT_INFO_SIZE - Static variable in class com.tuladb.Codec
 
ACCOUNT_KEY_SIZE - Static variable in class com.tuladb.Codec
 
ACCOUNT_METADATA_EVENT_SIZE - Static variable in class com.tuladb.Codec
 
ACCOUNT_SET_ACTIVE_SIZE - Static variable in class com.tuladb.Codec
 
ACCOUNT_UPDATE_SIZE - Static variable in class com.tuladb.Codec
 
AccountBalance(int, int, short, short, long, long, long, long, long, long) - Constructor for record class com.tuladb.Models.AccountBalance
Creates an instance of a AccountBalance record class.
AccountCreate(long, long, int, int, short, short, long, long) - Constructor for record class com.tuladb.Models.AccountCreate
 
AccountCreate(long, long, int, int, short, short, long, long, boolean, long) - Constructor for record class com.tuladb.Models.AccountCreate
Creates an instance of a AccountCreate record class.
accountHi() - Method in record class com.tuladb.Models.AccountCreate
Returns the value of the accountHi record component.
accountHi() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the accountHi record component.
accountHi() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the accountHi record component.
accountHi() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the accountHi record component.
AccountInfo(long, long, int, int, short, short, long, long, long, long, long, long, long, long, long, short) - Constructor for record class com.tuladb.Models.AccountInfo
 
AccountInfo(long, long, int, int, short, short, long, long, long, long, long, long, long, long, long, short, boolean, long) - Constructor for record class com.tuladb.Models.AccountInfo
Creates an instance of a AccountInfo record class.
AccountKey(int, int, long, long) - Constructor for record class com.tuladb.Models.AccountKey
Creates an instance of a AccountKey record class.
accountLo() - Method in record class com.tuladb.Models.AccountCreate
Returns the value of the accountLo record component.
accountLo() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the accountLo record component.
accountLo() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the accountLo record component.
accountLo() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the accountLo record component.
AccountMetadataEvent(long, int, int, long, long, long, long, long, long, boolean, long, byte, byte) - Constructor for record class com.tuladb.Models.AccountMetadataEvent
Creates an instance of a AccountMetadataEvent record class.
accounts() - Method in record class com.tuladb.Codec.ListAccountsResult
Returns the value of the accounts record component.
ACCT_INACTIVE - Static variable in class com.tuladb.Protocol
 
activateFeature(int) - Method in class com.tuladb.LedgerClient
Activate a cluster capability flag (requires cluster-admin), e.g. history purge (feature id 3).
active() - Method in record class com.tuladb.Models.CurrencyInstance
Returns the value of the active record component.
active() - Method in record class com.tuladb.Models.LedgerInstance
Returns the value of the active record component.
active() - Method in record class com.tuladb.Models.SourceInstance
Returns the value of the active record component.
afterIndex() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the afterIndex record component.
afterSeq() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the afterSeq record component.
all() - Method in class com.tuladb.currency.CurrencyCatalog
 
allowInsecure(boolean) - Method in class com.tuladb.Auth
A copy that may (or may not) be sent over a non-TLS connection.
alpha() - Method in record class com.tuladb.Models.CurrencyInstance
Returns the value of the alpha record component.
alpha() - Method in record class com.tuladb.Models.SourceInstance
Returns the value of the alpha record component.
AMBIGUOUS_STATUSES - Static variable in class com.tuladb.LedgerClient
Statuses that are transient but leave the outcome UNKNOWN: the write may have committed (contracts/status-codes.env, class ambiguous): 12 ERR_QUORUM_TIMEOUT, which a leader that lost quorum or leadership mid-write answers without knowing the outcome.
amount() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the amount record component.
amount() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the amount record component.
amount() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the amount record component.
amount() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the amount record component.
amount() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the amount record component.
amountDecimalToInt(Object, Object) - Method in class com.tuladb.currency.CurrencyCatalog
DASH-6: convert a human decimal amount to integer minor units using the currency's scale.
AmountFormatException - Exception Class in com.tuladb.currency
A decimal amount the contract (contracts/amount-vectors.json) refuses.
AmountFormatException(String, String) - Constructor for exception class com.tuladb.currency.AmountFormatException
 
amountIntToDecimal(long, Object) - Method in class com.tuladb.currency.CurrencyCatalog
DASH-6: inverse for display.
Amounts - Class in com.tuladb.currency
Decimal <-> minor-unit conversion.
apiKey(byte[]) - Static method in class com.tuladb.Auth
 
apiKey(String) - Static method in class com.tuladb.Auth
 
applyIndex() - Method in record class com.tuladb.Models.ClusterStatus
Returns the value of the applyIndex record component.
applyOverride(Currency) - Method in class com.tuladb.currency.CurrencyCatalog
 
assertAccepted(Models.TransferResult) - Static method in class com.tuladb.LedgerClient
 
assertAccepted(Models.TransferResult, boolean) - Static method in class com.tuladb.LedgerClient
 
Auth - Class in com.tuladb
A connection credential for MSG_AUTH: a bearer token (JWT/OIDC) or an API key that upgrades the connection's principal and role from the anonymous default.
Auth.Result - Record Class in com.tuladb
The engine's answer to a successful MSG_AUTH.
authenticate(Auth) - Method in class com.tuladb.LedgerClient
Send one MSG_AUTH on the open connection, switching its principal for every later request.
availableBalance() - Method in record class com.tuladb.Models.AccountBalance
Returns the value of the availableBalance record component.
availableBalance() - Method in record class com.tuladb.Models.Balance
Returns the value of the availableBalance record component.

B

Balance(long, long, long, long, long, long) - Constructor for record class com.tuladb.Models.Balance
Creates an instance of a Balance record class.
BALANCE_SIZE - Static variable in class com.tuladb.Codec
 
batchIndex() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the batchIndex record component.
batchIndex() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the batchIndex record component.
batchIndex() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the batchIndex record component.
batchIndex() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the batchIndex record component.
batchIndex() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the batchIndex record component.
batchSeq() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the batchSeq record component.
batchSeq() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the batchSeq record component.
batchSeq() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the batchSeq record component.
batchSeq() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the batchSeq record component.
batchSeq() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the batchSeq record component.
bearer(byte[]) - Static method in class com.tuladb.Auth
 
bearer(String) - Static method in class com.tuladb.Auth
 
BufferedLedgerClient - Class in com.tuladb
Auto-batching wrapper: many concurrent callers, few round trips.
BufferedLedgerClient(BufferedLedgerClient.Target) - Constructor for class com.tuladb.BufferedLedgerClient
 
BufferedLedgerClient(BufferedLedgerClient.Target, double, int, int) - Constructor for class com.tuladb.BufferedLedgerClient
 
BufferedLedgerClient(BufferedLedgerClient.Target, double, int, int, int) - Constructor for class com.tuladb.BufferedLedgerClient
 
BufferedLedgerClient(LedgerClient) - Constructor for class com.tuladb.BufferedLedgerClient
Over one connection, with the defaults (2 ms, one frame in flight, 1024 per frame).
BufferedLedgerClient(LedgerClient, double, int) - Constructor for class com.tuladb.BufferedLedgerClient
Over one connection.
BufferedLedgerClient.Target - Interface in com.tuladb
The batch surface this client drives.
buildTransferIdCanonicalInput(long, int, int, String) - Static method in class com.tuladb.Codec
ledgerId and currency are the engine's u32s carried in a Java int, as everywhere on this SDK's wire: a value of 2^31 or more arrives negative and is read UNSIGNED ((int) 3_000_000_000L is ledger 3000000000).
buildTransferIdCanonicalInput(long, long, long, String) - Static method in class com.tuladb.Codec
As above, with ledger and currency as plain (non-negative) u32 values.

C

cachedDigest() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the cachedDigest record component.
caFile() - Method in record class com.tuladb.LedgerClient.TlsOptions
Returns the value of the caFile record component.
call(SmartLedgerClient) - Method in interface com.tuladb.LedgerClientPool.ClientCall
 
certFile() - Method in record class com.tuladb.LedgerClient.TlsOptions
Returns the value of the certFile record component.
classifyResult(Models.TransferResult) - Static method in class com.tuladb.LedgerClient
 
classifyStatusCode(int) - Static method in class com.tuladb.LedgerClient
 
clearAuth() - Method in class com.tuladb.LedgerClient
Zero and forget the reconnect credential; later connections are anonymous.
client() - Method in class com.tuladb.BufferedLedgerClient
The connection this client wraps; null over a pool or smart client.
client() - Method in interface com.tuladb.BufferedLedgerClient.Target
The single connection behind this target, for the calls that are not batched (reads, registry, admin); null when there is none (a pool, a smart client, a test double).
close() - Method in class com.tuladb.BufferedLedgerClient
 
close() - Method in class com.tuladb.LedgerClient
 
close() - Method in class com.tuladb.LedgerClientPool
 
close() - Method in class com.tuladb.SmartLedgerClient
 
CLUSTER_STATUS_SIZE - Static variable in class com.tuladb.Codec
 
ClusterStatus(int, int, int, int, long, long, long, long, long) - Constructor for record class com.tuladb.Models.ClusterStatus
Creates an instance of a ClusterStatus record class.
code() - Method in record class com.tuladb.currency.Currency
Returns the value of the code record component.
code(int) - Method in class com.tuladb.currency.CurrencyCatalog
 
Codec - Class in com.tuladb
 
Codec.ListAccountsResult - Record Class in com.tuladb
 
Codec.TransferIdModeException - Exception Class in com.tuladb
A 32-byte transfer id the Base62 (ISO 20022) id mode cannot represent: only bytes 0..25 are public there, and the engine zeroes 26..31 when it runs with use_iso20022_ref_size = true.
com.tuladb - package com.tuladb
 
com.tuladb.currency - package com.tuladb.currency
 
commit(String) - Method in class com.tuladb.BufferedLedgerClient
 
commit(String) - Method in class com.tuladb.LedgerClient
 
commit(String) - Method in class com.tuladb.SmartLedgerClient
 
commitBatch(List<String>) - Method in class com.tuladb.BufferedLedgerClient
 
commitBatch(List<String>) - Method in class com.tuladb.LedgerClient
 
commitBatch(List<String>) - Method in class com.tuladb.LedgerClientPool
 
commitBatch(List<String>) - Method in class com.tuladb.SmartLedgerClient
 
commitBatch(List<String>, int) - Method in interface com.tuladb.BufferedLedgerClient.Target
 
commitBatch(List<String>, int) - Method in class com.tuladb.LedgerClient
As commitBatch, keeping pipelineDepth batch frames in flight on this connection.
commitBatch(List<String>, int) - Method in class com.tuladb.SmartLedgerClient
As commitBatch, keeping depth batch frames in flight on the routed connection.
commitBatch(List<String>, int, int) - Method in class com.tuladb.LedgerClientPool
 
commitByKey(long, int, int, String) - Method in class com.tuladb.BufferedLedgerClient
Commit addressed by its key: the id is derived here, then queued with other commits.
commitByKey(long, int, int, String) - Method in class com.tuladb.LedgerClient
 
commitByKey(long, int, int, String) - Method in class com.tuladb.SmartLedgerClient
 
commitIndex() - Method in record class com.tuladb.Models.ClusterStatus
Returns the value of the commitIndex record component.
connect() - Method in class com.tuladb.BufferedLedgerClient
Connect the wrapped connection (no-op over a pool or smart client).
connect() - Method in class com.tuladb.LedgerClient
Dial (or re-dial) the server.
CONNECT - Enum constant in enum class com.tuladb.LedgerClient.LedgerTimeoutException.Phase
 
connectMs() - Method in record class com.tuladb.LedgerClient.Timeouts
Returns the value of the connectMs record component.
containsCode(String) - Method in class com.tuladb.currency.CurrencyCatalog
 
containsNumeric(int) - Method in class com.tuladb.currency.CurrencyCatalog
 
crAvailable() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the crAvailable record component.
crAvailableBalance() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the crAvailableBalance record component.
crc32() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the crc32 record component.
crc32(byte, short, byte[]) - Static method in class com.tuladb.Protocol
 
crc32OverFrame(byte[], byte[]) - Static method in class com.tuladb.Protocol
CRC over a received 24-byte header (with the crc32 field zeroed) plus the payload, matching the wire contract: the CRC covers the full header — including deadline_remaining_ms and reserved as received — not an assumed-zero reconstruction.
crCreditsPosted() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the crCreditsPosted record component.
crDebitsPosted() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the crDebitsPosted record component.
createAccount(Models.AccountCreate) - Method in class com.tuladb.BufferedLedgerClient
 
createAccount(Models.AccountCreate) - Method in class com.tuladb.LedgerClient
Rides MSG_CREATE_ACCOUNT_BATCH with one item (the single-op message is retired).
createAccount(Models.AccountCreate) - Method in class com.tuladb.SmartLedgerClient
 
createCurrency(Models.CurrencyInstance) - Method in class com.tuladb.BufferedLedgerClient
 
createCurrency(Models.CurrencyInstance) - Method in class com.tuladb.currency.CurrencyScales
Register through the creator given at construction and cache the registered scale at once.
createCurrency(Models.CurrencyInstance) - Method in interface com.tuladb.currency.CurrencyScales.CurrencyCreator
 
createCurrency(Models.CurrencyInstance) - Method in class com.tuladb.LedgerClient
 
createCurrency(Models.CurrencyInstance) - Method in class com.tuladb.SmartLedgerClient
 
createdAtSec() - Method in record class com.tuladb.Models.CurrencyInstance
Returns the value of the createdAtSec record component.
createdAtSec() - Method in record class com.tuladb.Models.LedgerInstance
Returns the value of the createdAtSec record component.
createdAtSec() - Method in record class com.tuladb.Models.SourceInstance
Returns the value of the createdAtSec record component.
createLedger(Models.LedgerInstance) - Method in class com.tuladb.BufferedLedgerClient
 
createLedger(Models.LedgerInstance) - Method in class com.tuladb.LedgerClient
 
createLedger(Models.LedgerInstance) - Method in class com.tuladb.SmartLedgerClient
 
createSource(Models.SourceInstance) - Method in class com.tuladb.BufferedLedgerClient
 
createSource(Models.SourceInstance) - Method in class com.tuladb.LedgerClient
 
createSource(Models.SourceInstance) - Method in class com.tuladb.SmartLedgerClient
 
creditHi() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the creditHi record component.
creditHi() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the creditHi record component.
creditHi() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the creditHi record component.
creditHi() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the creditHi record component.
creditLo() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the creditLo record component.
creditLo() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the creditLo record component.
creditLo() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the creditLo record component.
creditLo() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the creditLo record component.
creditsPending() - Method in record class com.tuladb.Models.AccountBalance
Returns the value of the creditsPending record component.
creditsPending() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the creditsPending record component.
creditsPending() - Method in record class com.tuladb.Models.Balance
Returns the value of the creditsPending record component.
creditsPosted() - Method in record class com.tuladb.Models.AccountBalance
Returns the value of the creditsPosted record component.
creditsPosted() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the creditsPosted record component.
creditsPosted() - Method in record class com.tuladb.Models.Balance
Returns the value of the creditsPosted record component.
crPosAvailableBalance() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the crPosAvailableBalance record component.
crPositionHi() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the crPositionHi record component.
crPositionLo() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the crPositionLo record component.
crPosPostedBalance() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the crPosPostedBalance record component.
crPostedBalance() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the crPostedBalance record component.
crSetAvailableBalance() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the crSetAvailableBalance record component.
crSetPostedBalance() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the crSetPostedBalance record component.
crSettlementHi() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the crSettlementHi record component.
crSettlementLo() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the crSettlementLo record component.
currency() - Method in record class com.tuladb.Models.AccountBalance
Returns the value of the currency record component.
currency() - Method in record class com.tuladb.Models.AccountCreate
Returns the value of the currency record component.
currency() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the currency record component.
currency() - Method in record class com.tuladb.Models.AccountKey
Returns the value of the currency record component.
currency() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the currency record component.
currency() - Method in record class com.tuladb.Models.LedgerInstance
Returns the value of the currency record component.
currency() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the currency record component.
currency() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the currency record component.
currency() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the currency record component.
currency() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the currency record component.
currency() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the currency record component.
Currency - Record Class in com.tuladb.currency
One ISO 4217 entry.
Currency(String, int, int, String) - Constructor for record class com.tuladb.currency.Currency
Creates an instance of a Currency record class.
CURRENCY_GET_SIZE - Static variable in class com.tuladb.Codec
 
CURRENCY_INFO_SIZE - Static variable in class com.tuladb.Codec
 
CURRENCY_SET_ACTIVE_SIZE - Static variable in class com.tuladb.Codec
 
CurrencyCatalog - Class in com.tuladb.currency
Reads the canonical ISO 4217 catalog shipped with tuladb-core (config/currencies.json) and optionally merges a deployment override file.
CurrencyCatalog(List<Currency>) - Constructor for class com.tuladb.currency.CurrencyCatalog
Visible to tests; production code uses loadDefault().
CurrencyInstance(int, String, int, int, String, long) - Constructor for record class com.tuladb.Models.CurrencyInstance
Creates an instance of a CurrencyInstance record class.
CurrencyNotRegisteredException - Exception Class in com.tuladb.currency
The engine's currency registry has no entry for CurrencyNotRegisteredException.numeric().
CurrencyNotRegisteredException(int, Throwable) - Constructor for exception class com.tuladb.currency.CurrencyNotRegisteredException
 
CurrencyScales - Class in com.tuladb.currency
Per-currency scales from the engine's currency registry.
CurrencyScales(CurrencyScales.CurrencyLookup) - Constructor for class com.tuladb.currency.CurrencyScales
 
CurrencyScales(CurrencyScales.CurrencyLookup, CurrencyScales.CurrencyCreator) - Constructor for class com.tuladb.currency.CurrencyScales
With creator, CurrencyScales.createCurrency(com.tuladb.Models.CurrencyInstance) registers and caches at once.
CurrencyScales(CurrencyScales.CurrencyLookup, CurrencyScales.CurrencyCreator, long, LongSupplier) - Constructor for class com.tuladb.currency.CurrencyScales
Explicit miss TTL and clock (nanoseconds), for tests.
CurrencyScales.CurrencyCreator - Interface in com.tuladb.currency
The create half of the registry: LedgerClient::createCurrency, ...
CurrencyScales.CurrencyLookup - Interface in com.tuladb.currency
Where registry entries come from: LedgerClient::getCurrency, SmartLedgerClient::getCurrency, a pooled lookup, ...
currentTerm() - Method in record class com.tuladb.Models.ClusterStatus
Returns the value of the currentTerm record component.
custom() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the custom record component.

D

debitHi() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the debitHi record component.
debitHi() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the debitHi record component.
debitHi() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the debitHi record component.
debitHi() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the debitHi record component.
debitLo() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the debitLo record component.
debitLo() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the debitLo record component.
debitLo() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the debitLo record component.
debitLo() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the debitLo record component.
debitsPending() - Method in record class com.tuladb.Models.AccountBalance
Returns the value of the debitsPending record component.
debitsPending() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the debitsPending record component.
debitsPending() - Method in record class com.tuladb.Models.Balance
Returns the value of the debitsPending record component.
debitsPosted() - Method in record class com.tuladb.Models.AccountBalance
Returns the value of the debitsPosted record component.
debitsPosted() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the debitsPosted record component.
debitsPosted() - Method in record class com.tuladb.Models.Balance
Returns the value of the debitsPosted record component.
decode(long) - Static method in class com.tuladb.Hlc
 
decodeAccountBalanceRow(byte[], int) - Static method in class com.tuladb.Codec
One 64-byte WireAccountBalanceRow at offset.
decodeAccountHistory(byte[]) - Static method in class com.tuladb.Codec
 
decodeAccountInfo(byte[]) - Static method in class com.tuladb.Codec
 
decodeAccountMetadataEvent(byte[]) - Static method in class com.tuladb.Codec
 
decodeBalance(byte[]) - Static method in class com.tuladb.Codec
 
decodeClusterStatus(byte[]) - Static method in class com.tuladb.Codec
 
decodeCurrencyInstance(byte[], int) - Static method in class com.tuladb.Codec
 
decodeHistory(byte[]) - Static method in class com.tuladb.Codec
 
decodeLedgerInstance(byte[], int) - Static method in class com.tuladb.Codec
 
decodeListAccountBalances(byte[]) - Static method in class com.tuladb.Codec
[u32 count][u32 pad][count x 64-byte rows], one row per currency.
decodeListAccounts(byte[]) - Static method in class com.tuladb.Codec
 
decodeListTransfers(byte[]) - Static method in class com.tuladb.Codec
 
decodeSourceInstance(byte[], int) - Static method in class com.tuladb.Codec
 
decodeTieredTransferResult(byte[]) - Static method in class com.tuladb.Codec
 
decodeTransferResult(byte[]) - Static method in class com.tuladb.Codec
 
decodeTransferResult(byte[], int) - Static method in class com.tuladb.Codec
 
decodeTxnRecord(byte[]) - Static method in class com.tuladb.Codec
 
DEFAULT_MS - Static variable in record class com.tuladb.LedgerClient.Timeouts
 
DEFAULT_RETRY_ATTEMPTS - Static variable in class com.tuladb.SmartLedgerClient
Retries after the first attempt (contracts/status-codes.env RETRY_ATTEMPTS).
DEFAULT_RETRY_INITIAL_DELAY_MS - Static variable in class com.tuladb.SmartLedgerClient
Backoff defaults, from contracts/status-codes.env (RETRY_*_MS).
DEFAULT_RETRY_MAX_DELAY_MS - Static variable in class com.tuladb.SmartLedgerClient
 
DEFAULT_RETRY_MAX_ELAPSED_MS - Static variable in class com.tuladb.SmartLedgerClient
 
defaults() - Static method in record class com.tuladb.LedgerClient.Timeouts
30 s connect, read and write: the C SDK's defaults.
defaults() - Static method in record class com.tuladb.SmartLedgerClient.RetryPolicy
 
defaultTier() - Method in record class com.tuladb.Models.LedgerInstance
Returns the value of the defaultTier record component.
delayCapMs(int) - Method in record class com.tuladb.SmartLedgerClient.RetryPolicy
Upper bound of SmartLedgerClient.RetryPolicy.delayMs(int): min(maxDelayMs, initialDelayMs * 2^n).
delayMs(int) - Method in record class com.tuladb.SmartLedgerClient.RetryPolicy
A jittered delay for retry n: uniform in [0, SmartLedgerClient.RetryPolicy.delayCapMs(int)].
deriveTransferId(long, int, int, String) - Static method in class com.tuladb.Codec
 
deriveTransferId(long, int, int, String) - Static method in class com.tuladb.LedgerClient
 
deriveTransferId(long, int, int, String, boolean) - Static method in class com.tuladb.Codec
 
deriveTransferId(long, int, int, String, boolean) - Static method in class com.tuladb.LedgerClient
 
deriveTransferId(long, long, long, String, boolean) - Static method in class com.tuladb.Codec
As above, with ledger and currency as plain u32 values.
deriveTransferId(long, long, long, String, boolean) - Static method in class com.tuladb.LedgerClient
As above, with ledger and currency as plain u32 values (a ledger id up to Codec.LEDGER_ID_CLIENT_MAX).
deriveTransferIdBytes(long, int, int, String) - Static method in class com.tuladb.Codec
 
deriveTransferIdBytes(long, int, int, String) - Static method in class com.tuladb.LedgerClient
 
deriveTransferIdBytes(long, int, int, String, boolean) - Static method in class com.tuladb.Codec
 
deriveTransferIdBytes(long, int, int, String, boolean) - Static method in class com.tuladb.LedgerClient
 
deriveTransferIdBytes(long, long, long, String, boolean) - Static method in class com.tuladb.Codec
As above, with ledger and currency as plain u32 values (see buildTransferIdCanonicalInput).
deriveTransferIdBytes(long, long, long, String, boolean) - Static method in class com.tuladb.LedgerClient
 
digestValid() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the digestValid record component.
disabled() - Static method in record class com.tuladb.LedgerClient.TlsOptions
 
drAvailable() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the drAvailable record component.
drAvailableBalance() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the drAvailableBalance record component.
drCreditsPosted() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the drCreditsPosted record component.
drDebitsPosted() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the drDebitsPosted record component.
drPosAvailableBalance() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the drPosAvailableBalance record component.
drPositionHi() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the drPositionHi record component.
drPositionLo() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the drPositionLo record component.
drPosPostedBalance() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the drPosPostedBalance record component.
drPostedBalance() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the drPostedBalance record component.
drSetAvailableBalance() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the drSetAvailableBalance record component.
drSetPostedBalance() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the drSetPostedBalance record component.
drSettlementHi() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the drSettlementHi record component.
drSettlementLo() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the drSettlementLo record component.
duplicate() - Method in record class com.tuladb.LedgerClient.TxnStatus
Returns the value of the duplicate record component.

E

enabled() - Method in record class com.tuladb.LedgerClient.TlsOptions
Returns the value of the enabled record component.
encode(long, int) - Static method in class com.tuladb.Hlc
 
encode(Models.AccountCreate) - Static method in class com.tuladb.Codec
 
encode(Models.CurrencyInstance) - Static method in class com.tuladb.Codec
 
encode(Models.LedgerInstance) - Static method in class com.tuladb.Codec
 
encode(Models.SourceInstance) - Static method in class com.tuladb.Codec
 
encode(Models.TieredTransferCreate) - Static method in class com.tuladb.Codec
 
encode(Models.TransferCreate) - Static method in class com.tuladb.Codec
 
encodeAccountKey(Models.AccountKey) - Static method in class com.tuladb.Codec
A bare WireAccountKey (32 bytes).
encodeAccountSetActive(Models.AccountKey, boolean) - Static method in class com.tuladb.Codec
 
encodeCurrencyGet(int) - Static method in class com.tuladb.Codec
 
encodeCurrencySetActive(int, boolean) - Static method in class com.tuladb.Codec
 
encodeGetAccountHistory(Models.AccountKey, long, int) - Static method in class com.tuladb.Codec
 
encodeGetBalance(Models.AccountKey, long) - Static method in class com.tuladb.Codec
GET_BALANCE: the key (32 B); with a non-zero read-your-writes token, the key then the u64 batch_seq the read must have applied through (40 B).
encodeGetHistory(Models.AccountKey, long, int) - Static method in class com.tuladb.Codec
 
encodeGetHistory(Models.AccountKey, long, int, int) - Static method in class com.tuladb.Codec
Composite pagination cursor (M1).
encodeLedgerGet(int) - Static method in class com.tuladb.Codec
 
encodeLedgerSourceAllow(int, int) - Static method in class com.tuladb.Codec
 
encodeListAccountBalances(int, long, long) - Static method in class com.tuladb.Codec
LIST_ACCOUNT_BALANCES (0x2C): {u32 ledger_id; u32 0; u64 0; u128 id} (32 B).
encodeListAccounts(int, int) - Static method in class com.tuladb.Codec
 
encodeListTransfers(long, int) - Static method in class com.tuladb.Codec
 
encodeListTransfers(long, int, int) - Static method in class com.tuladb.Codec
Composite pagination cursor.
encodeSearchTransactions(Models.TxnSearch) - Static method in class com.tuladb.Codec
 
encodeSourceGet(int) - Static method in class com.tuladb.Codec
 
encodeSourceSetActive(int, boolean) - Static method in class com.tuladb.Codec
 
encodeTransferId(String) - Static method in class com.tuladb.Codec
 
encodeTransferId(String, boolean) - Static method in class com.tuladb.Codec
 
endpoint() - Method in record class com.tuladb.SmartLedgerClient.EndpointStatus
Returns the value of the endpoint record component.
EndpointStatus(SmartLedgerClient.NodeEndpoint, Models.ClusterStatus, String) - Constructor for record class com.tuladb.SmartLedgerClient.EndpointStatus
Creates an instance of a EndpointStatus record class.
endpointStatuses() - Method in class com.tuladb.SmartLedgerClient
 
ENV_CATALOG - Static variable in class com.tuladb.currency.CurrencyCatalog
 
ENV_CORE_DIR - Static variable in class com.tuladb.currency.CurrencyCatalog
 
ENV_OVERRIDE - Static variable in class com.tuladb.currency.CurrencyCatalog
 
equals(Object) - Method in record class com.tuladb.Auth.Result
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Codec.ListAccountsResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.currency.Currency
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Hlc.Parts
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.LedgerClient.Timeouts
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.LedgerClient.TlsOptions
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.LedgerClient.TxnStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.LedgerClient.WrappedTxn
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.AccountBalance
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.AccountCreate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.AccountInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.AccountKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.AccountMetadataEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.Balance
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.ClusterStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.CurrencyInstance
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.LedgerInstance
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.RejectCreate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.SourceInstance
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.TieredTransferCreate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.TieredTransferResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.TransferCreate
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.TransferResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.TxnRecord
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.Models.TxnSearch
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.SmartLedgerClient.EndpointStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.SmartLedgerClient.NodeEndpoint
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.tuladb.SmartLedgerClient.RetryPolicy
Indicates whether some other object is "equal to" this one.
ERR_ACCOUNT_CONFLICT - Static variable in class com.tuladb.LedgerClient
A create of an existing (ledger, currency, id) whose CREATION attributes differ (an identical retry answers OK_DUPLICATE).
ERR_AMOUNT_EXCEEDS_MAX - Static variable in class com.tuladb.LedgerClient
The transfer's amount exceeds the ledger's max_txn_amount cap — a durable business decline; replaying the identity returns it.
ERR_EXPORT_GROUP_CONFLICT - Static variable in class com.tuladb.LedgerClient
An export page from a partition-group member was refused; the sub-code (64-75) is in the export response header, not a status.
ERR_HISTORY_PURGED - Static variable in class com.tuladb.LedgerClient
This node no longer retains the transfer's history record: its history retention purged it (point lookups).
ERR_RECONFIG_NO_QUORUM - Static variable in class com.tuladb.LedgerClient
A membership change was refused by the leader's strict reconfig check: the PROPOSED voters have no live, caught-up quorum right now.
ERR_UPSTREAM_REJECTED - Static variable in class com.tuladb.LedgerClient
 
error() - Method in record class com.tuladb.SmartLedgerClient.EndpointStatus
Returns the value of the error record component.
EVENT_CREATE - Static variable in record class com.tuladb.Models.AccountMetadataEvent
 
EVENT_UPDATE - Static variable in record class com.tuladb.Models.AccountMetadataEvent
 
eventType() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the eventType record component.

F

FEATURE_RESERVE_EXPIRY - Static variable in class com.tuladb.Protocol
Reserve-expiry capability flag.
FINAL_STATUSES - Static variable in class com.tuladb.LedgerClient
Statuses that are the same answer on every node and every retry: the request itself was refused (conflicts, malformed, not permitted, breaks a ledger rule).
flags() - Method in record class com.tuladb.Models.AccountBalance
Returns the value of the flags record component.
flags() - Method in record class com.tuladb.Models.AccountCreate
Returns the value of the flags record component.
flags() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the flags record component.
flags() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the flags record component.
flags() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the flags record component.
flags() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the flags record component.
flagsMask() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the flagsMask record component.
flagsValue() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the flagsValue record component.
flush() - Method in class com.tuladb.BufferedLedgerClient
Send everything buffered and wait until every frame is answered.
flushIntervalNanos() - Method in class com.tuladb.BufferedLedgerClient
The idle flusher's wake-up interval, in nanoseconds.
forget(int) - Method in class com.tuladb.currency.CurrencyScales
Drop one cached scale or miss.
format(int, long) - Method in class com.tuladb.currency.CurrencyScales
 
formatMinor(long, int) - Static method in class com.tuladb.currency.Amounts
Format -1 at scale 2 as "-0.01".
frame(byte, short, byte[]) - Static method in class com.tuladb.Protocol
Header and payload in one buffer, for a single write.
framesSent() - Method in class com.tuladb.BufferedLedgerClient
Batch frames sent so far (including frames that failed).
fromEnv() - Static method in record class com.tuladb.LedgerClient.TlsOptions
 

G

get(int) - Method in class com.tuladb.currency.CurrencyCatalog
 
get(String) - Method in class com.tuladb.currency.CurrencyCatalog
 
GET_ACCOUNT_HISTORY_SIZE - Static variable in class com.tuladb.Codec
 
GET_BALANCE_SIZE - Static variable in class com.tuladb.Codec
GET_BALANCE: the key; + 8 bytes with a read-your-writes token.
GET_HISTORY_SIZE - Static variable in class com.tuladb.Codec
 
getAccountHistory(Models.AccountKey, long, int) - Method in class com.tuladb.BufferedLedgerClient
 
getAccountHistory(Models.AccountKey, long, int) - Method in class com.tuladb.LedgerClient
 
getAccountHistory(Models.AccountKey, long, int) - Method in class com.tuladb.SmartLedgerClient
 
getBalance(Models.AccountKey) - Method in class com.tuladb.BufferedLedgerClient
 
getBalance(Models.AccountKey) - Method in class com.tuladb.LedgerClient
Balance of the account named by key = (ledgerId, currency, id).
getBalance(Models.AccountKey) - Method in class com.tuladb.SmartLedgerClient
 
getBalance(Models.AccountKey, long) - Method in class com.tuladb.BufferedLedgerClient
 
getBalance(Models.AccountKey, long) - Method in class com.tuladb.LedgerClient
LedgerClient.getBalance(AccountKey) with a read-your-writes token: a non-zero minBatchSeq (e.g. a write's batch_seq) makes the server answer only once it has applied through it; 0 is a plain read.
getBalance(Models.AccountKey, long) - Method in class com.tuladb.SmartLedgerClient
 
getClusterStatus() - Method in class com.tuladb.LedgerClient
 
getClusterStatus() - Method in class com.tuladb.SmartLedgerClient
 
getCurrency(int) - Method in class com.tuladb.BufferedLedgerClient
 
getCurrency(int) - Method in interface com.tuladb.currency.CurrencyScales.CurrencyLookup
 
getCurrency(int) - Method in class com.tuladb.LedgerClient
 
getCurrency(int) - Method in class com.tuladb.SmartLedgerClient
 
getDefaultFlags() - Method in class com.tuladb.BufferedLedgerClient
R2-H2: read session-wide default flags on the underlying client.
getDefaultFlags() - Method in class com.tuladb.LedgerClient
Inspect the current session-wide default frame flags.
getDefaultFlags() - Method in class com.tuladb.SmartLedgerClient
Inspect the current session-wide default frame flags.
getHistory(Models.AccountKey, long, int) - Method in class com.tuladb.BufferedLedgerClient
 
getHistory(Models.AccountKey, long, int) - Method in class com.tuladb.LedgerClient
 
getHistory(Models.AccountKey, long, int) - Method in class com.tuladb.SmartLedgerClient
 
getHistory(Models.AccountKey, long, int, int) - Method in class com.tuladb.BufferedLedgerClient
 
getHistory(Models.AccountKey, long, int, int) - Method in class com.tuladb.LedgerClient
Paged account history resuming after the composite cursor (afterSeq, afterIndex).
getHistory(Models.AccountKey, long, int, int) - Method in class com.tuladb.SmartLedgerClient
Paged account history resuming after the composite cursor (afterSeq, afterIndex).
getLedger(int) - Method in class com.tuladb.BufferedLedgerClient
 
getLedger(int) - Method in class com.tuladb.LedgerClient
 
getLedger(int) - Method in class com.tuladb.SmartLedgerClient
 
getSource(int) - Method in class com.tuladb.BufferedLedgerClient
 
getSource(int) - Method in class com.tuladb.LedgerClient
 
getSource(int) - Method in class com.tuladb.SmartLedgerClient
 
getTransaction(String) - Method in class com.tuladb.BufferedLedgerClient
 
getTransaction(String) - Method in class com.tuladb.LedgerClient
 
getTransaction(String) - Method in class com.tuladb.SmartLedgerClient
 
getTransactionByKey(long, int, int, String) - Method in class com.tuladb.BufferedLedgerClient
 
getTransactionByKey(long, int, int, String) - Method in class com.tuladb.LedgerClient
 
getTransactionByKey(long, int, int, String) - Method in class com.tuladb.SmartLedgerClient
 
getTransactionByTransferId(byte[]) - Method in class com.tuladb.BufferedLedgerClient
 
getTransactionByTransferId(byte[]) - Method in class com.tuladb.LedgerClient
 
getTransactionByTransferId(byte[]) - Method in class com.tuladb.SmartLedgerClient
 
getVersion() - Method in class com.tuladb.BufferedLedgerClient
R2-H4: build-identity probe.
getVersion() - Method in class com.tuladb.LedgerClient
Return the human-readable build identity of the connected daemon — the same string that tuladbd --version prints.
getVersion() - Method in class com.tuladb.SmartLedgerClient
R2-H4: probe the connected daemon's build identity over the wire.

H

hashCode() - Method in record class com.tuladb.Auth.Result
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Codec.ListAccountsResult
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.currency.Currency
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Hlc.Parts
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.LedgerClient.Timeouts
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.LedgerClient.TlsOptions
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.LedgerClient.TxnStatus
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.AccountBalance
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.AccountCreate
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.AccountInfo
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.AccountKey
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.Balance
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.ClusterStatus
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.CurrencyInstance
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.LedgerInstance
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.RejectCreate
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.SourceInstance
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.TieredTransferResult
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.TransferCreate
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.TransferResult
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.TxnRecord
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.Models.TxnSearch
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.SmartLedgerClient.EndpointStatus
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.SmartLedgerClient.NodeEndpoint
Returns a hash code value for this object.
hashCode() - Method in record class com.tuladb.SmartLedgerClient.RetryPolicy
Returns a hash code value for this object.
header(byte, short, byte[]) - Static method in class com.tuladb.Protocol
 
HEADER_SIZE - Static variable in class com.tuladb.Protocol
 
healthy() - Method in record class com.tuladb.SmartLedgerClient.EndpointStatus
 
healthyEndpoints() - Method in class com.tuladb.SmartLedgerClient
 
Hlc - Class in com.tuladb
Hybrid Logical Clock helpers for TulaDB SDK users.
Hlc.Parts - Record Class in com.tuladb
 
host() - Method in record class com.tuladb.SmartLedgerClient.NodeEndpoint
Returns the value of the host record component.

I

idHi() - Method in record class com.tuladb.Models.AccountKey
Returns the value of the idHi record component.
idLo() - Method in record class com.tuladb.Models.AccountKey
Returns the value of the idLo record component.
inactive() - Method in record class com.tuladb.Models.AccountBalance
True iff the engine marks the account inactive (ACCT_INACTIVE).
initialDelayMs() - Method in record class com.tuladb.SmartLedgerClient.RetryPolicy
Returns the value of the initialDelayMs record component.
insecureAllowed() - Method in class com.tuladb.Auth
 
INVALID - Static variable in exception class com.tuladb.currency.AmountFormatException
 
isAmbiguous() - Method in exception class com.tuladb.LedgerClient.LedgerProtocolException
LedgerClient.statusIsAmbiguous(int) of LedgerClient.LedgerProtocolException.statusCode(): the write may have committed; retry only with the same identity.
isConnected() - Method in class com.tuladb.BufferedLedgerClient
Whether the underlying client still holds a socket.
isConnected() - Method in class com.tuladb.LedgerClient
Whether this client currently holds a socket.
isFinal() - Method in exception class com.tuladb.LedgerClient.LedgerProtocolException
isoUtc(long) - Static method in class com.tuladb.Hlc
 
isRetryable() - Method in exception class com.tuladb.LedgerClient.LedgerProtocolException
LedgerClient.statusIsRetryable(int) of LedgerClient.LedgerProtocolException.statusCode(): nothing was written; back off and retry with the same identity.
itemsSent() - Method in class com.tuladb.BufferedLedgerClient
Items sent so far, across all frames.

K

keyFile() - Method in record class com.tuladb.LedgerClient.TlsOptions
Returns the value of the keyFile record component.

L

lastBatchSeq() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the lastBatchSeq record component.
le(int) - Static method in class com.tuladb.Protocol
 
leader() - Method in record class com.tuladb.SmartLedgerClient.EndpointStatus
 
LEADER - Enum constant in enum class com.tuladb.SmartLedgerClient.RoutePolicy
 
leaderEndpoint() - Method in class com.tuladb.SmartLedgerClient
 
leaderId() - Method in record class com.tuladb.Models.ClusterStatus
Returns the value of the leaderId record component.
leaderStatus() - Method in class com.tuladb.SmartLedgerClient
 
LEDGER_GET_SIZE - Static variable in class com.tuladb.Codec
 
LEDGER_ID_CLIENT_MAX - Static variable in class com.tuladb.Codec
The highest ledger id a client may use; [0xFFFFFFF0, 0xFFFFFFFF] is the engine's.
LEDGER_INFO_SIZE - Static variable in class com.tuladb.Codec
 
LEDGER_MODE_DEFAULT - Static variable in class com.tuladb.Models
 
LEDGER_MODE_POSITION_SETTLEMENT - Static variable in class com.tuladb.Models
 
LEDGER_SOURCE_ALLOW_SIZE - Static variable in class com.tuladb.Codec
 
ledgerAddSource(int, int) - Method in class com.tuladb.BufferedLedgerClient
 
ledgerAddSource(int, int) - Method in class com.tuladb.LedgerClient
 
ledgerAddSource(int, int) - Method in class com.tuladb.SmartLedgerClient
 
LedgerAuthException(String, Integer) - Constructor for exception class com.tuladb.LedgerClient.LedgerAuthException
 
LedgerClient - Class in com.tuladb
 
LedgerClient(String, int, int) - Constructor for class com.tuladb.LedgerClient
Legacy form: timeoutMs bounds connect, read and write alike.
LedgerClient(String, int, int, boolean) - Constructor for class com.tuladb.LedgerClient
 
LedgerClient(String, int, int, boolean, LedgerClient.TlsOptions) - Constructor for class com.tuladb.LedgerClient
 
LedgerClient(String, int, int, boolean, LedgerClient.TlsOptions, boolean) - Constructor for class com.tuladb.LedgerClient
 
LedgerClient(String, int, LedgerClient.Timeouts) - Constructor for class com.tuladb.LedgerClient
Explicit timeouts; TLS and the plaintext opt-in from the environment.
LedgerClient(String, int, LedgerClient.Timeouts, boolean, LedgerClient.TlsOptions) - Constructor for class com.tuladb.LedgerClient
 
LedgerClient(String, int, LedgerClient.Timeouts, boolean, LedgerClient.TlsOptions, boolean) - Constructor for class com.tuladb.LedgerClient
 
LedgerClient.LedgerAuthException - Exception Class in com.tuladb
MSG_AUTH was refused: by the engine (LedgerClient.LedgerProtocolException.statusCode() 35, ERR_PERMISSION, with the engine's reason) or by the client before anything was sent (LedgerClient.LedgerProtocolException.statusCode() null: empty, too long, or a cleartext credential without the opt-in).
LedgerClient.LedgerDuplicateTxnException - Exception Class in com.tuladb
 
LedgerClient.LedgerProtocolException - Exception Class in com.tuladb
A reply that is not a successful answer, as distinct from a transport failure.
LedgerClient.LedgerStatusException - Exception Class in com.tuladb
The engine answered a non-success status: a RESP_ERROR frame carrying its status, or the declined item of a single write.
LedgerClient.LedgerTimeoutException - Exception Class in com.tuladb
A connect, TLS handshake, write or read did not finish in time.
LedgerClient.LedgerTimeoutException.Phase - Enum Class in com.tuladb
 
LedgerClient.LedgerTxnStatusException - Exception Class in com.tuladb
 
LedgerClient.NotConnectedException - Exception Class in com.tuladb
The call was refused before anything was sent: no connection (a failure or timeout closed it, or it was never opened).
LedgerClient.Timeouts - Record Class in com.tuladb
Socket timeouts, in milliseconds.
LedgerClient.TlsOptions - Record Class in com.tuladb
 
LedgerClient.TxnStatus - Record Class in com.tuladb
 
LedgerClient.WrappedTxn - Record Class in com.tuladb
 
LedgerClient.WrappedTxnLeg - Record Class in com.tuladb
 
LedgerClientPool - Class in com.tuladb
A fixed set of connections, so N callers get N requests in flight.
LedgerClientPool(String, int, int) - Constructor for class com.tuladb.LedgerClientPool
 
LedgerClientPool(List<SmartLedgerClient.NodeEndpoint>, int, int, boolean, int, LedgerClient.TlsOptions, SmartLedgerClient.RoutePolicy, SmartLedgerClient.NodeEndpoint, int, long) - Constructor for class com.tuladb.LedgerClientPool
 
LedgerClientPool(List<SmartLedgerClient.NodeEndpoint>, int, LedgerClient.Timeouts, boolean, int, LedgerClient.TlsOptions, SmartLedgerClient.RoutePolicy, SmartLedgerClient.NodeEndpoint, int, long) - Constructor for class com.tuladb.LedgerClientPool
As above, with separate connect / read / write timeouts (null = defaults).
LedgerClientPool(List<SmartLedgerClient.NodeEndpoint>, int, LedgerClient.Timeouts, boolean, int, LedgerClient.TlsOptions, SmartLedgerClient.RoutePolicy, SmartLedgerClient.NodeEndpoint, int, long, Auth) - Constructor for class com.tuladb.LedgerClientPool
As above, authenticating every member connection with MSG_AUTH (Auth; null = anonymous).
LedgerClientPool.ClientCall<T> - Interface in com.tuladb
 
LedgerDuplicateTxnException(int, String) - Constructor for exception class com.tuladb.LedgerClient.LedgerDuplicateTxnException
 
ledgerId() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.AccountBalance
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.AccountCreate
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.AccountKey
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.LedgerInstance
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the ledgerId record component.
ledgerId() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the ledgerId record component.
LedgerInstance(int, int, int, int, int, int, int, long) - Constructor for record class com.tuladb.Models.LedgerInstance
Backwards-compatible overload: no reservation TTL (expiry disabled).
LedgerInstance(int, int, int, int, int, int, int, long, long) - Constructor for record class com.tuladb.Models.LedgerInstance
Backwards-compatible overload: no amount cap.
LedgerInstance(int, int, int, int, int, int, int, long, long, long) - Constructor for record class com.tuladb.Models.LedgerInstance
Creates an instance of a LedgerInstance record class.
ledgerListSources(int) - Method in class com.tuladb.BufferedLedgerClient
 
ledgerListSources(int) - Method in class com.tuladb.LedgerClient
 
ledgerListSources(int) - Method in class com.tuladb.SmartLedgerClient
 
LedgerProtocolException(String) - Constructor for exception class com.tuladb.LedgerClient.LedgerProtocolException
 
LedgerProtocolException(String, int, Integer) - Constructor for exception class com.tuladb.LedgerClient.LedgerProtocolException
 
LedgerProtocolException(String, int, Integer, Object) - Constructor for exception class com.tuladb.LedgerClient.LedgerProtocolException
result: a declined single write's decoded item result, or null.
ledgerRemoveSource(int, int) - Method in class com.tuladb.BufferedLedgerClient
 
ledgerRemoveSource(int, int) - Method in class com.tuladb.LedgerClient
 
ledgerRemoveSource(int, int) - Method in class com.tuladb.SmartLedgerClient
 
ledgerSetExpiry(int, long) - Method in class com.tuladb.BufferedLedgerClient
 
ledgerSetExpiry(int, long) - Method in class com.tuladb.LedgerClient
Set (or clear, with 0) a ledger's 2PC reservation TTL, in NANOSECONDS.
ledgerSetMaxAmount(int, long) - Method in class com.tuladb.BufferedLedgerClient
 
ledgerSetMaxAmount(int, long) - Method in class com.tuladb.LedgerClient
Set (or clear, with 0) a ledger's per-transaction amount cap.
LedgerStatusException(String, int, int, Object) - Constructor for exception class com.tuladb.LedgerClient.LedgerStatusException
 
LedgerTimeoutException(LedgerClient.LedgerTimeoutException.Phase, int, String, Throwable) - Constructor for exception class com.tuladb.LedgerClient.LedgerTimeoutException
 
LedgerTxnStatusException(int, String) - Constructor for exception class com.tuladb.LedgerClient.LedgerTxnStatusException
 
legCount() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the legCount record component.
legs() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the legs record component.
length() - Method in class com.tuladb.Auth
 
limit() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the limit record component.
limitHigh() - Method in record class com.tuladb.Models.AccountCreate
Returns the value of the limitHigh record component.
limitHigh() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the limitHigh record component.
limitLow() - Method in record class com.tuladb.Models.AccountCreate
Returns the value of the limitLow record component.
limitLow() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the limitLow record component.
LIST_ACCOUNT_BALANCES_MAX - Static variable in class com.tuladb.Models
Most rows one listAccountBalances response carries.
LIST_ACCOUNT_BALANCES_REQ_SIZE - Static variable in class com.tuladb.Codec
 
LIST_ACCOUNTS_REQ_SIZE - Static variable in class com.tuladb.Codec
 
LIST_TRANSFERS_REQ_SIZE - Static variable in class com.tuladb.Codec
 
listAccountBalances(int, long, long) - Method in class com.tuladb.BufferedLedgerClient
 
listAccountBalances(int, long, long) - Method in class com.tuladb.LedgerClient
Every balance business id (accountHi, accountLo) holds within ONE ledger: one row per currency, ordered by currency.
listAccountBalances(int, long, long) - Method in class com.tuladb.SmartLedgerClient
 
listAccounts(int, int) - Method in class com.tuladb.BufferedLedgerClient
 
listAccounts(int, int) - Method in class com.tuladb.LedgerClient
 
listAccounts(int, int) - Method in class com.tuladb.SmartLedgerClient
 
ListAccountsResult(int, List<Models.AccountInfo>) - Constructor for record class com.tuladb.Codec.ListAccountsResult
Creates an instance of a ListAccountsResult record class.
listCurrencies() - Method in class com.tuladb.BufferedLedgerClient
 
listCurrencies() - Method in class com.tuladb.LedgerClient
 
listCurrencies() - Method in class com.tuladb.SmartLedgerClient
 
listLedgers() - Method in class com.tuladb.BufferedLedgerClient
 
listLedgers() - Method in class com.tuladb.LedgerClient
 
listLedgers() - Method in class com.tuladb.SmartLedgerClient
 
listPending(long, int) - Method in class com.tuladb.BufferedLedgerClient
 
listPending(long, int) - Method in class com.tuladb.LedgerClient
 
listPending(long, int) - Method in class com.tuladb.SmartLedgerClient
 
listPending(long, int, int) - Method in class com.tuladb.BufferedLedgerClient
 
listPending(long, int, int) - Method in class com.tuladb.LedgerClient
 
listRejected(long, int) - Method in class com.tuladb.BufferedLedgerClient
 
listRejected(long, int) - Method in class com.tuladb.LedgerClient
 
listRejected(long, int) - Method in class com.tuladb.SmartLedgerClient
 
listRejected(long, int, int) - Method in class com.tuladb.BufferedLedgerClient
 
listRejected(long, int, int) - Method in class com.tuladb.LedgerClient
 
listSources() - Method in class com.tuladb.BufferedLedgerClient
 
listSources() - Method in class com.tuladb.LedgerClient
 
listSources() - Method in class com.tuladb.SmartLedgerClient
 
listTransfers(long, int) - Method in class com.tuladb.BufferedLedgerClient
 
listTransfers(long, int) - Method in class com.tuladb.LedgerClient
 
listTransfers(long, int) - Method in class com.tuladb.SmartLedgerClient
 
listTransfers(long, int, int) - Method in class com.tuladb.BufferedLedgerClient
 
listTransfers(long, int, int) - Method in class com.tuladb.LedgerClient
List transfers resuming after the composite cursor (afterSeq, afterIndex).
listTransfersExtended(int, int, boolean) - Method in class com.tuladb.BufferedLedgerClient
 
listTransfersExtended(int, int, boolean) - Method in class com.tuladb.LedgerClient
 
listTransfersExtended(int, int, boolean) - Method in class com.tuladb.SmartLedgerClient
 
listWrappedTransactions(int, int, boolean) - Method in class com.tuladb.BufferedLedgerClient
 
listWrappedTransactions(int, int, boolean) - Method in class com.tuladb.LedgerClient
 
listWrappedTransactions(int, int, boolean) - Method in class com.tuladb.SmartLedgerClient
 
load(Path, Path) - Static method in class com.tuladb.currency.CurrencyCatalog
 
loadDefault() - Static method in class com.tuladb.currency.CurrencyCatalog
Load the catalog from the conventional location, applying any TULADB_CURRENCY_OVERRIDE file on top.
logical() - Method in record class com.tuladb.Hlc.Parts
Returns the value of the logical record component.
logical(long) - Static method in class com.tuladb.Hlc
 
LOGICAL_BITS - Static variable in class com.tuladb.Hlc
 
LOGICAL_MASK - Static variable in class com.tuladb.Hlc
 

M

MAX_CREDENTIAL_LEN - Static variable in class com.tuladb.Auth
Longest credential the client sends (the C SDK's cap).
MAX_PIPELINE_DEPTH - Static variable in class com.tuladb.LedgerClient
Ceiling on the pipeline window, matching LEDGERD_MAX_PIPELINE_DEPTH in the C SDK.
MAX_RESPONSE_PAYLOAD_BYTES - Static variable in class com.tuladb.LedgerClient
 
maxBatch() - Method in class com.tuladb.BufferedLedgerClient
The most items this client puts in one frame.
maxDelayMs() - Method in record class com.tuladb.SmartLedgerClient.RetryPolicy
Returns the value of the maxDelayMs record component.
maxElapsedMs() - Method in record class com.tuladb.SmartLedgerClient.RetryPolicy
Returns the value of the maxElapsedMs record component.
maxTimestamp() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the maxTimestamp record component.
maxTxnAmount() - Method in record class com.tuladb.Models.LedgerInstance
Returns the value of the maxTxnAmount record component.
members() - Method in class com.tuladb.LedgerClientPool
 
minTimestamp() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the minTimestamp record component.
mode() - Method in record class com.tuladb.Models.LedgerInstance
Returns the value of the mode record component.
Models - Class in com.tuladb
 
Models.AccountBalance - Record Class in com.tuladb
One row of listAccountBalances: the balance one id holds in one currency of a ledger (engine WireAccountBalanceRow, 64 bytes).
Models.AccountCreate - Record Class in com.tuladb
 
Models.AccountInfo - Record Class in com.tuladb
 
Models.AccountKey - Record Class in com.tuladb
An account's identity on wire version 3: (ledgerId, currency, id).
Models.AccountMetadataEvent - Record Class in com.tuladb
Engine AccountMetadataEvent (80 bytes).
Models.Balance - Record Class in com.tuladb
 
Models.ClusterStatus - Record Class in com.tuladb
 
Models.CurrencyInstance - Record Class in com.tuladb
 
Models.LedgerInstance - Record Class in com.tuladb
 
Models.RejectCreate - Record Class in com.tuladb
 
Models.SourceInstance - Record Class in com.tuladb
 
Models.TieredTransferCreate - Record Class in com.tuladb
 
Models.TieredTransferResult - Record Class in com.tuladb
 
Models.TransferCreate - Record Class in com.tuladb
 
Models.TransferResult - Record Class in com.tuladb
 
Models.TxnRecord - Record Class in com.tuladb
 
Models.TxnSearch - Record Class in com.tuladb
 
MSG_ACCOUNT_SET_ACTIVE - Static variable in class com.tuladb.Protocol
 
MSG_AUTH - Static variable in class com.tuladb.Auth
The engine's MSG_AUTH (0x70).
MSG_CLUSTER_PROMOTE_STANDBY - Static variable in class com.tuladb.Protocol
Control-plane: promote the best caught-up standby learner in a group.
MSG_CLUSTER_RECONFIG - Static variable in class com.tuladb.Protocol
Control-plane: submit a serialised ClusterConfig (Raft §4 reconfig).
MSG_CLUSTER_STATUS - Static variable in class com.tuladb.Protocol
 
MSG_COMMIT - Static variable in class com.tuladb.Protocol
Deprecated.
MSG_COMMIT_BATCH - Static variable in class com.tuladb.Protocol
 
MSG_CREATE_ACCOUNT - Static variable in class com.tuladb.Protocol
Deprecated.
MSG_CREATE_ACCOUNT_BATCH - Static variable in class com.tuladb.Protocol
Batched account create (engine MSG_CREATE_ACCOUNT_BATCH 0x41).
MSG_CURRENCY_CREATE - Static variable in class com.tuladb.Protocol
 
MSG_CURRENCY_GET - Static variable in class com.tuladb.Protocol
 
MSG_CURRENCY_LIST - Static variable in class com.tuladb.Protocol
 
MSG_CURRENCY_SET_ACTIVE - Static variable in class com.tuladb.Protocol
 
MSG_FEATURE_ACTIVATE - Static variable in class com.tuladb.Protocol
 
MSG_GET_ACCOUNT_HISTORY - Static variable in class com.tuladb.Protocol
 
MSG_GET_BALANCE - Static variable in class com.tuladb.Protocol
 
MSG_GET_HISTORY - Static variable in class com.tuladb.Protocol
 
MSG_GET_TRANSACTION - Static variable in class com.tuladb.Protocol
 
MSG_LEDGER_ADD_SOURCE - Static variable in class com.tuladb.Protocol
 
MSG_LEDGER_CREATE - Static variable in class com.tuladb.Protocol
 
MSG_LEDGER_GET - Static variable in class com.tuladb.Protocol
 
MSG_LEDGER_LIST - Static variable in class com.tuladb.Protocol
 
MSG_LEDGER_LIST_SOURCES - Static variable in class com.tuladb.Protocol
 
MSG_LEDGER_REMOVE_SOURCE - Static variable in class com.tuladb.Protocol
 
MSG_LEDGER_SET_EXPIRY - Static variable in class com.tuladb.Protocol
0x27: admin per-ledger reservation TTL update.
MSG_LEDGER_SET_MAX_AMOUNT - Static variable in class com.tuladb.Protocol
0x28: admin per-ledger transaction amount cap update.
MSG_LIST_ACCOUNT_BALANCES - Static variable in class com.tuladb.Protocol
0x2C: every balance one id holds within ONE ledger, a row per currency.
MSG_LIST_ACCOUNTS - Static variable in class com.tuladb.Protocol
 
MSG_LIST_PENDING - Static variable in class com.tuladb.Protocol
 
MSG_LIST_REJECTED - Static variable in class com.tuladb.Protocol
 
MSG_LIST_TRANSFERS - Static variable in class com.tuladb.Protocol
 
MSG_PING - Static variable in class com.tuladb.Protocol
 
MSG_PONG - Static variable in class com.tuladb.Protocol
 
MSG_RESERVE - Static variable in class com.tuladb.Protocol
Deprecated.
MSG_RESERVE_BATCH - Static variable in class com.tuladb.Protocol
 
MSG_RESP_ERROR - Static variable in class com.tuladb.Protocol
 
MSG_RESP_OK - Static variable in class com.tuladb.Protocol
 
MSG_ROLLBACK - Static variable in class com.tuladb.Protocol
Deprecated.
MSG_ROLLBACK_BATCH - Static variable in class com.tuladb.Protocol
 
MSG_SEARCH_ACCOUNTS - Static variable in class com.tuladb.Protocol
 
MSG_SEARCH_TXNS - Static variable in class com.tuladb.Protocol
 
MSG_SOURCE_CREATE - Static variable in class com.tuladb.Protocol
 
MSG_SOURCE_GET - Static variable in class com.tuladb.Protocol
 
MSG_SOURCE_LIST - Static variable in class com.tuladb.Protocol
 
MSG_SOURCE_SET_ACTIVE - Static variable in class com.tuladb.Protocol
 
MSG_TIERED_COMMIT - Static variable in class com.tuladb.Protocol
Deprecated.
MSG_TIERED_COMMIT_BATCH - Static variable in class com.tuladb.Protocol
 
MSG_TIERED_RESERVE - Static variable in class com.tuladb.Protocol
Deprecated.
MSG_TIERED_RESERVE_BATCH - Static variable in class com.tuladb.Protocol
 
MSG_TIERED_ROLLBACK - Static variable in class com.tuladb.Protocol
Deprecated.
MSG_TIERED_ROLLBACK_BATCH - Static variable in class com.tuladb.Protocol
 
MSG_TIERED_TRANSFER - Static variable in class com.tuladb.Protocol
Deprecated.
MSG_TIERED_TRANSFER_BATCH - Static variable in class com.tuladb.Protocol
 
MSG_TRANSFER - Static variable in class com.tuladb.Protocol
Deprecated.
MSG_TRANSFER_BATCH - Static variable in class com.tuladb.Protocol
 
MSG_TRANSFER_LEADERSHIP - Static variable in class com.tuladb.Protocol
Control-plane: graceful leader transfer (Raft §3.10).
MSG_UPDATE_ACCOUNT - Static variable in class com.tuladb.Protocol
 
MSG_VERSION - Static variable in class com.tuladb.Protocol
R2-H4: remote build-identity probe.
msgType() - Method in exception class com.tuladb.LedgerClient.LedgerProtocolException
The response frame's msg_type, or -1 when not known.

N

name() - Method in record class com.tuladb.currency.Currency
Returns the value of the name record component.
name() - Method in record class com.tuladb.Models.CurrencyInstance
Returns the value of the name record component.
newLimitHigh() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the newLimitHigh record component.
newLimitLow() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the newLimitLow record component.
NodeEndpoint(String, int) - Constructor for record class com.tuladb.SmartLedgerClient.NodeEndpoint
Creates an instance of a NodeEndpoint record class.
nodes() - Method in class com.tuladb.SmartLedgerClient
 
normalize(Object) - Method in class com.tuladb.currency.CurrencyCatalog
Coerce a request-supplied currency value to its integer numeric.
normalizeTxnIdForKey(String) - Static method in class com.tuladb.Codec
 
NOT_REGISTERED_TTL_NANOS - Static variable in class com.tuladb.currency.CurrencyScales
How long a miss is remembered (the shared rule: 2 s).
NotConnectedException() - Constructor for exception class com.tuladb.LedgerClient.NotConnectedException
 
numeric() - Method in record class com.tuladb.currency.Currency
Returns the value of the numeric record component.
numeric() - Method in exception class com.tuladb.currency.CurrencyNotRegisteredException
 
numeric() - Method in record class com.tuladb.Models.CurrencyInstance
Returns the value of the numeric record component.
numeric() - Method in record class com.tuladb.Models.SourceInstance
Returns the value of the numeric record component.
numeric(String) - Method in class com.tuladb.currency.CurrencyCatalog
 

O

of(int) - Static method in record class com.tuladb.LedgerClient.Timeouts
The same value for all three: what the legacy int timeoutMs constructors use, so they now bound writes as well as reads.
of(int, byte[]) - Static method in class com.tuladb.Auth
credential is copied.
of(int, int, long) - Static method in record class com.tuladb.Models.AccountKey
Key for an id that fits in 64 bits (unsigned).
of(LedgerClient) - Static method in class com.tuladb.BufferedLedgerClient
Adapter for a single connection.
of(LedgerClientPool) - Static method in class com.tuladb.BufferedLedgerClient
 
of(Models.AccountCreate) - Static method in record class com.tuladb.Models.AccountKey
The key of the account a creates.
of(SmartLedgerClient) - Static method in class com.tuladb.BufferedLedgerClient
 
of(String, int, int, String) - Static method in record class com.tuladb.Models.CurrencyInstance
 
ofAlpha(String) - Static method in record class com.tuladb.Models.SourceInstance
 
ofDefault(int) - Static method in record class com.tuladb.Models.LedgerInstance
 
ofPositionSettlement(int, int, int) - Static method in record class com.tuladb.Models.LedgerInstance
 
oldLimitHigh() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the oldLimitHigh record component.
oldLimitLow() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the oldLimitLow record component.
OVERFLOW - Static variable in exception class com.tuladb.currency.AmountFormatException
 

P

parseClusterNodes(String) - Static method in class com.tuladb.SmartLedgerClient
 
participantId() - Method in record class com.tuladb.Models.AccountCreate
Returns the value of the participantId record component.
participantId() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the participantId record component.
participantId() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the participantId record component.
participantIdPresent() - Method in record class com.tuladb.Models.AccountCreate
Returns the value of the participantIdPresent record component.
participantIdPresent() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the participantIdPresent record component.
participantIdPresent() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the participantIdPresent record component.
Parts(long, int) - Constructor for record class com.tuladb.Hlc.Parts
Creates an instance of a Parts record class.
peerCount() - Method in record class com.tuladb.Models.ClusterStatus
Returns the value of the peerCount record component.
pendingCount() - Method in class com.tuladb.BufferedLedgerClient
 
phase() - Method in exception class com.tuladb.LedgerClient.LedgerTimeoutException
 
phase() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the phase record component.
phase() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the phase record component.
phase() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the phase record component.
phase() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the phase record component.
phase() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the phase record component.
phase() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the phase record component.
PHYSICAL_MAX_MS - Static variable in class com.tuladb.Hlc
 
physicalMs() - Method in record class com.tuladb.Hlc.Parts
Returns the value of the physicalMs record component.
physicalMs(long) - Static method in class com.tuladb.Hlc
 
ping() - Method in class com.tuladb.BufferedLedgerClient
 
ping() - Method in class com.tuladb.LedgerClient
 
ping() - Method in class com.tuladb.SmartLedgerClient
 
PINNED - Enum constant in enum class com.tuladb.SmartLedgerClient.RoutePolicy
 
pinnedNode() - Method in class com.tuladb.SmartLedgerClient
 
pipelineDepth() - Method in class com.tuladb.BufferedLedgerClient
 
pipelineDepth() - Method in class com.tuladb.LedgerClient
 
pipelineDepth() - Method in class com.tuladb.LedgerClientPool
 
pipelineDepth() - Method in class com.tuladb.SmartLedgerClient
 
port() - Method in record class com.tuladb.SmartLedgerClient.NodeEndpoint
Returns the value of the port record component.
positionTier() - Method in record class com.tuladb.Models.LedgerInstance
Returns the value of the positionTier record component.
postedBalance() - Method in record class com.tuladb.Models.AccountBalance
Returns the value of the postedBalance record component.
postedBalance() - Method in record class com.tuladb.Models.Balance
Returns the value of the postedBalance record component.
principal() - Method in record class com.tuladb.Auth.Result
Returns the value of the principal record component.
promoteStandby(String) - Method in class com.tuladb.LedgerClient
Ask the leader to promote the best caught-up standby learner in group to voter (per-lane catch-up verified).
promoteStandby(String) - Method in class com.tuladb.SmartLedgerClient
Promote the best caught-up standby learner in group to voter, routed to the leader; returns the promoted node id.
Protocol - Class in com.tuladb
 
proxyForwards() - Method in record class com.tuladb.Models.ClusterStatus
Returns the value of the proxyForwards record component.

Q

QUERY_ANY_U32 - Static variable in class com.tuladb.Codec
 
QUERY_ANY_U8 - Static variable in class com.tuladb.Codec
 
quorumTimeouts() - Method in record class com.tuladb.Models.ClusterStatus
Returns the value of the quorumTimeouts record component.

R

READ - Enum constant in enum class com.tuladb.LedgerClient.LedgerTimeoutException.Phase
 
readMs() - Method in record class com.tuladb.LedgerClient.Timeouts
Returns the value of the readMs record component.
reason() - Method in exception class com.tuladb.currency.AmountFormatException
reasonCode() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the reasonCode record component.
reconfig(byte[]) - Method in class com.tuladb.LedgerClient
Submit a serialised ClusterConfig to the leader (control-plane, Raft §4).
reconfig(byte[]) - Method in class com.tuladb.SmartLedgerClient
Submit a serialised ClusterConfig (Raft §4 reconfig), routed to the leader.
reconnect() - Method in class com.tuladb.LedgerClient
Dial again if a failure dropped the connection; a no-op while connected.
refreshLeader() - Method in class com.tuladb.SmartLedgerClient
 
registry() - Method in class com.tuladb.currency.CurrencyCatalog
reject(Models.RejectCreate) - Method in class com.tuladb.BufferedLedgerClient
Record a durable rejected outcome.
reject(Models.RejectCreate) - Method in class com.tuladb.LedgerClient
 
reject(Models.RejectCreate) - Method in class com.tuladb.SmartLedgerClient
 
REJECT_ERR_DEADLINE_EXCEEDED - Static variable in class com.tuladb.LedgerClient
 
REJECT_ERR_RESERVE_EXPIRED - Static variable in class com.tuladb.LedgerClient
reserve-expiry: commit/rollback of a reservation that lapsed past its deadline (the hold was released; it resolved to phase EXPIRED = 3).
REJECT_ERR_WIRE_PARSE - Static variable in class com.tuladb.LedgerClient
R3-M4: split overloaded ERR_CONFIG into specific codes
REJECT_ERR_WRONG_MODE - Static variable in class com.tuladb.LedgerClient
 
REJECT_REASON_AMOUNT_EXCEEDS_MAX - Static variable in class com.tuladb.LedgerClient
 
REJECT_REASON_ENGINE_BASE - Static variable in class com.tuladb.LedgerClient
Engine-owned reject reason codes.
rejectByKey(long, int, String) - Method in class com.tuladb.BufferedLedgerClient
 
rejectByKey(long, int, String) - Method in class com.tuladb.LedgerClient
 
rejectByKey(long, int, String) - Method in class com.tuladb.SmartLedgerClient
 
rejectByKey(long, int, String, long) - Method in class com.tuladb.BufferedLedgerClient
 
rejectByKey(long, int, String, long) - Method in class com.tuladb.LedgerClient
 
rejectByKey(long, int, String, long) - Method in class com.tuladb.SmartLedgerClient
 
rejectByKey(long, int, String, long, int, int, Object) - Method in class com.tuladb.BufferedLedgerClient
 
rejectByKey(long, int, String, long, int, int, Object) - Method in class com.tuladb.LedgerClient
 
rejectByKey(long, int, String, long, int, int, Object) - Method in class com.tuladb.SmartLedgerClient
 
rejectByKey(long, int, String, long, int, long, long, long, long, int, Object) - Method in class com.tuladb.BufferedLedgerClient
 
rejectByKey(long, int, String, long, int, long, long, long, long, int, Object) - Method in class com.tuladb.LedgerClient
 
rejectByKey(long, int, String, long, int, long, long, long, long, int, Object) - Method in class com.tuladb.SmartLedgerClient
 
RejectCreate(long, int, int, String, long, int, Object) - Constructor for record class com.tuladb.Models.RejectCreate
 
RejectCreate(long, int, int, String, long, long, long, long, long, int, Object) - Constructor for record class com.tuladb.Models.RejectCreate
Creates an instance of a RejectCreate record class.
rejectReasonCode() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the rejectReasonCode record component.
rejectReasonCode() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the rejectReasonCode record component.
rejectReasonIsEngine(long) - Static method in class com.tuladb.LedgerClient
True iff the engine wrote the reason, rather than a caller.
remember(int, int) - Method in class com.tuladb.currency.CurrencyScales
Record a scale learned elsewhere (e.g. a create reply); clears a remembered miss.
reserve(Models.TransferCreate) - Method in class com.tuladb.BufferedLedgerClient
 
reserve(Models.TransferCreate) - Method in class com.tuladb.LedgerClient
 
reserve(Models.TransferCreate) - Method in class com.tuladb.SmartLedgerClient
 
reserveBatch(List<Models.TransferCreate>) - Method in class com.tuladb.BufferedLedgerClient
 
reserveBatch(List<Models.TransferCreate>) - Method in class com.tuladb.LedgerClient
 
reserveBatch(List<Models.TransferCreate>) - Method in class com.tuladb.LedgerClientPool
 
reserveBatch(List<Models.TransferCreate>) - Method in class com.tuladb.SmartLedgerClient
 
reserveBatch(List<Models.TransferCreate>, int) - Method in interface com.tuladb.BufferedLedgerClient.Target
 
reserveBatch(List<Models.TransferCreate>, int) - Method in class com.tuladb.LedgerClient
As reserveBatch, keeping pipelineDepth batch frames in flight on this connection.
reserveBatch(List<Models.TransferCreate>, int) - Method in class com.tuladb.SmartLedgerClient
As reserveBatch, keeping depth batch frames in flight on the routed connection.
reserveBatch(List<Models.TransferCreate>, int, int) - Method in class com.tuladb.LedgerClientPool
 
RESERVED_45 - Static variable in class com.tuladb.LedgerClient
45 and 46 are reserved for TxnRecord v2 (a retry with different fields; the effective_ts window).
RESERVED_46 - Static variable in class com.tuladb.LedgerClient
 
reserveTtlNs() - Method in record class com.tuladb.Models.LedgerInstance
Returns the value of the reserveTtlNs record component.
result() - Method in exception class com.tuladb.LedgerClient.LedgerProtocolException
A declined single write's decoded item result -- a Models.TransferResult or Models.TieredTransferResult (phase, batch_seq, balances of the decline) -- or null when the failure carried none (a whole-frame error, transport, account create).
Result(int, String) - Constructor for record class com.tuladb.Auth.Result
Creates an instance of a Result record class.
resultCode() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the resultCode record component.
resultCode() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the resultCode record component.
resultCode() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the resultCode record component.
resultCode() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the resultCode record component.
RETRYABLE_STATUSES - Static variable in class com.tuladb.LedgerClient
Statuses that mean the server shed load or hit a transient failure and NOTHING was written: back off and retry with the SAME identity (txnId / transfer id); the engine's duplicate check makes the retry safe whichever attempt landed.
retryAttempts() - Method in class com.tuladb.SmartLedgerClient
 
retryPolicy() - Method in class com.tuladb.SmartLedgerClient
 
RetryPolicy(long, long, long) - Constructor for record class com.tuladb.SmartLedgerClient.RetryPolicy
Creates an instance of a RetryPolicy record class.
role() - Method in record class com.tuladb.Auth.Result
Returns the value of the role record component.
role() - Method in record class com.tuladb.Models.ClusterStatus
Returns the value of the role record component.
rollback(String) - Method in class com.tuladb.BufferedLedgerClient
 
rollback(String) - Method in class com.tuladb.LedgerClient
 
rollback(String) - Method in class com.tuladb.SmartLedgerClient
 
rollbackBatch(List<String>) - Method in class com.tuladb.BufferedLedgerClient
 
rollbackBatch(List<String>) - Method in class com.tuladb.LedgerClient
 
rollbackBatch(List<String>) - Method in class com.tuladb.LedgerClientPool
 
rollbackBatch(List<String>) - Method in class com.tuladb.SmartLedgerClient
 
rollbackBatch(List<String>, int) - Method in interface com.tuladb.BufferedLedgerClient.Target
 
rollbackBatch(List<String>, int) - Method in class com.tuladb.LedgerClient
As rollbackBatch, keeping pipelineDepth batch frames in flight on this connection.
rollbackBatch(List<String>, int) - Method in class com.tuladb.SmartLedgerClient
As rollbackBatch, keeping depth batch frames in flight on the routed connection.
rollbackBatch(List<String>, int, int) - Method in class com.tuladb.LedgerClientPool
 
rollbackByKey(long, int, int, String) - Method in class com.tuladb.BufferedLedgerClient
 
rollbackByKey(long, int, int, String) - Method in class com.tuladb.LedgerClient
 
rollbackByKey(long, int, int, String) - Method in class com.tuladb.SmartLedgerClient
 
ROUND_ROBIN - Enum constant in enum class com.tuladb.SmartLedgerClient.RoutePolicy
 
routeEndpoint() - Method in class com.tuladb.SmartLedgerClient
The node operations are currently routed to, if one is known.
routePolicy() - Method in class com.tuladb.SmartLedgerClient
 

S

scale() - Method in record class com.tuladb.currency.Currency
Returns the value of the scale record component.
scale() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the scale record component.
scale() - Method in record class com.tuladb.Models.CurrencyInstance
Returns the value of the scale record component.
scale(int) - Method in class com.tuladb.currency.CurrencyCatalog
 
scale(int) - Method in class com.tuladb.currency.CurrencyScales
The registered scale of numeric, asking the engine on first use.
scale(String) - Method in class com.tuladb.currency.CurrencyCatalog
 
SCALE_MAX - Static variable in class com.tuladb.currency.Amounts
Largest scale the engine's currency registry accepts.
SEARCH_TXNS_REQ_SIZE - Static variable in class com.tuladb.Codec
 
searchTransactions(Models.TxnSearch) - Method in class com.tuladb.BufferedLedgerClient
 
searchTransactions(Models.TxnSearch) - Method in class com.tuladb.LedgerClient
 
searchTransactions(Models.TxnSearch) - Method in class com.tuladb.SmartLedgerClient
 
selfId() - Method in record class com.tuladb.Models.ClusterStatus
Returns the value of the selfId record component.
seq() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the seq record component.
serverName() - Method in record class com.tuladb.LedgerClient.TlsOptions
Returns the value of the serverName record component.
setAccountActive(Models.AccountKey, boolean) - Method in class com.tuladb.BufferedLedgerClient
 
setAccountActive(Models.AccountKey, boolean) - Method in class com.tuladb.LedgerClient
Toggle ACCT_INACTIVE on the account named by key.
setAccountActive(Models.AccountKey, boolean) - Method in class com.tuladb.SmartLedgerClient
 
setCurrencyActive(int, boolean) - Method in class com.tuladb.BufferedLedgerClient
 
setCurrencyActive(int, boolean) - Method in class com.tuladb.LedgerClient
 
setCurrencyActive(int, boolean) - Method in class com.tuladb.SmartLedgerClient
 
setDefaultFlags(short) - Method in class com.tuladb.BufferedLedgerClient
R2-H2: set session-wide default flags on the underlying client.
setDefaultFlags(short) - Method in class com.tuladb.LedgerClient
Set the session-wide default frame flags.
setDefaultFlags(short) - Method in class com.tuladb.LedgerClientPool
 
setDefaultFlags(short) - Method in class com.tuladb.SmartLedgerClient
R2-H2: set session-wide default frame flags.
setPipelineDepth(int) - Method in class com.tuladb.LedgerClient
Set the default number of batch frames in flight for the *Batch calls.
setPipelineDepth(int) - Method in class com.tuladb.SmartLedgerClient
Default batch frames in flight per connection; replayed onto each routed client.
setRetryPolicy(SmartLedgerClient.RetryPolicy) - Method in class com.tuladb.LedgerClientPool
setRetryPolicy(SmartLedgerClient.RetryPolicy) - Method in class com.tuladb.SmartLedgerClient
Backoff between retries (see SmartLedgerClient.RetryPolicy); null restores the defaults.
setSourceActive(int, boolean) - Method in class com.tuladb.BufferedLedgerClient
 
setSourceActive(int, boolean) - Method in class com.tuladb.LedgerClient
 
setSourceActive(int, boolean) - Method in class com.tuladb.SmartLedgerClient
 
settlementTier() - Method in record class com.tuladb.Models.LedgerInstance
Returns the value of the settlementTier record component.
size() - Method in class com.tuladb.currency.CurrencyCatalog
 
size() - Method in class com.tuladb.LedgerClientPool
 
SmartLedgerClient - Class in com.tuladb
Leader-aware Ledger client.
SmartLedgerClient(String, int) - Constructor for class com.tuladb.SmartLedgerClient
 
SmartLedgerClient(String, int, boolean) - Constructor for class com.tuladb.SmartLedgerClient
 
SmartLedgerClient(String, int, boolean, int) - Constructor for class com.tuladb.SmartLedgerClient
 
SmartLedgerClient(String, int, LedgerClient.TlsOptions) - Constructor for class com.tuladb.SmartLedgerClient
 
SmartLedgerClient(List<SmartLedgerClient.NodeEndpoint>, int) - Constructor for class com.tuladb.SmartLedgerClient
 
SmartLedgerClient(List<SmartLedgerClient.NodeEndpoint>, int, boolean) - Constructor for class com.tuladb.SmartLedgerClient
 
SmartLedgerClient(List<SmartLedgerClient.NodeEndpoint>, int, boolean, int) - Constructor for class com.tuladb.SmartLedgerClient
 
SmartLedgerClient(List<SmartLedgerClient.NodeEndpoint>, int, boolean, int, LedgerClient.TlsOptions) - Constructor for class com.tuladb.SmartLedgerClient
 
SmartLedgerClient(List<SmartLedgerClient.NodeEndpoint>, int, boolean, int, LedgerClient.TlsOptions, SmartLedgerClient.RoutePolicy, SmartLedgerClient.NodeEndpoint) - Constructor for class com.tuladb.SmartLedgerClient
Full constructor, including the routing override.
SmartLedgerClient(List<SmartLedgerClient.NodeEndpoint>, int, LedgerClient.TlsOptions) - Constructor for class com.tuladb.SmartLedgerClient
 
SmartLedgerClient(List<SmartLedgerClient.NodeEndpoint>, LedgerClient.Timeouts, boolean, int, LedgerClient.TlsOptions, SmartLedgerClient.RoutePolicy, SmartLedgerClient.NodeEndpoint) - Constructor for class com.tuladb.SmartLedgerClient
Full constructor with separate connect / read / write timeouts (see LedgerClient.Timeouts); null means the defaults (30 s each).
SmartLedgerClient(List<SmartLedgerClient.NodeEndpoint>, LedgerClient.Timeouts, boolean, int, LedgerClient.TlsOptions, SmartLedgerClient.RoutePolicy, SmartLedgerClient.NodeEndpoint, Auth) - Constructor for class com.tuladb.SmartLedgerClient
As above, authenticating every node connection with MSG_AUTH (Auth; null = anonymous).
SmartLedgerClient.EndpointStatus - Record Class in com.tuladb
 
SmartLedgerClient.NodeEndpoint - Record Class in com.tuladb
 
SmartLedgerClient.RetryPolicy - Record Class in com.tuladb
Backoff between retries of one operation, "full jitter": delay(n) is uniform in [0, min(maxDelayMs, initialDelayMs * 2^n)], where n counts the backed-off retries (0 for the first; the one immediate transport / not-leader retry is not counted).
SmartLedgerClient.RoutePolicy - Enum Class in com.tuladb
How an operation picks its node.
SOURCE_ALPHA_MAX - Static variable in class com.tuladb.Models
 
SOURCE_GET_SIZE - Static variable in class com.tuladb.Codec
 
SOURCE_INFO_SIZE - Static variable in class com.tuladb.Codec
 
SOURCE_SET_ACTIVE_SIZE - Static variable in class com.tuladb.Codec
 
sourceId() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the sourceId record component.
sourceId() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the sourceId record component.
sourceId() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the sourceId record component.
sourceId() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the sourceId record component.
sourceId() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the sourceId record component.
sourceId() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the sourceId record component.
SourceInstance(int, String, int, long) - Constructor for record class com.tuladb.Models.SourceInstance
Creates an instance of a SourceInstance record class.
status() - Method in exception class com.tuladb.LedgerClient.LedgerTxnStatusException
 
status() - Method in record class com.tuladb.LedgerClient.TxnStatus
Returns the value of the status record component.
status() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the status record component.
status() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the status record component.
status() - Method in record class com.tuladb.SmartLedgerClient.EndpointStatus
Returns the value of the status record component.
statusCode() - Method in exception class com.tuladb.LedgerClient.LedgerProtocolException
The engine's LedgerStatus from the RESP_ERROR payload, or null when the frame did not carry one.
statusCode() - Method in exception class com.tuladb.LedgerClient.LedgerTxnStatusException
 
statusCode() - Method in record class com.tuladb.LedgerClient.TxnStatus
Returns the value of the statusCode record component.
statusIsAmbiguous(int) - Static method in class com.tuladb.LedgerClient
True iff statusCode may have committed (see LedgerClient.AMBIGUOUS_STATUSES).
statusIsFinal(int) - Static method in class com.tuladb.LedgerClient
True iff statusCode is a deterministic verdict (see LedgerClient.FINAL_STATUSES).
statusIsRetryable(int) - Static method in class com.tuladb.LedgerClient
True iff statusCode is transient: back off and retry with the same identity; nothing was written (see LedgerClient.RETRYABLE_STATUSES).
statusName() - Method in exception class com.tuladb.LedgerClient.LedgerProtocolException
statusName() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the statusName record component.
statusName(int) - Static method in class com.tuladb.LedgerClient
 

T

tier() - Method in record class com.tuladb.Models.AccountBalance
Returns the value of the tier record component.
tier() - Method in record class com.tuladb.Models.AccountCreate
Returns the value of the tier record component.
tier() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the tier record component.
TIERED_TRANSFER_CREATE_SIZE - Static variable in class com.tuladb.Codec
 
TIERED_TRANSFER_RESULT_SIZE - Static variable in class com.tuladb.Codec
 
tieredCommit(String) - Method in class com.tuladb.BufferedLedgerClient
 
tieredCommit(String) - Method in class com.tuladb.LedgerClient
 
tieredCommit(String) - Method in class com.tuladb.SmartLedgerClient
 
tieredCommitBatch(List<String>) - Method in class com.tuladb.BufferedLedgerClient
 
tieredCommitBatch(List<String>) - Method in class com.tuladb.LedgerClient
 
tieredCommitBatch(List<String>) - Method in class com.tuladb.LedgerClientPool
 
tieredCommitBatch(List<String>) - Method in class com.tuladb.SmartLedgerClient
 
tieredCommitBatch(List<String>, int) - Method in interface com.tuladb.BufferedLedgerClient.Target
 
tieredCommitBatch(List<String>, int) - Method in class com.tuladb.LedgerClient
As tieredCommitBatch, keeping pipelineDepth batch frames in flight on this connection.
tieredCommitBatch(List<String>, int) - Method in class com.tuladb.SmartLedgerClient
As tieredCommitBatch, keeping depth batch frames in flight on the routed connection.
tieredCommitBatch(List<String>, int, int) - Method in class com.tuladb.LedgerClientPool
 
tieredCommitByKey(long, int, int, String) - Method in class com.tuladb.BufferedLedgerClient
 
tieredCommitByKey(long, int, int, String) - Method in class com.tuladb.LedgerClient
 
tieredCommitByKey(long, int, int, String) - Method in class com.tuladb.SmartLedgerClient
 
tieredReserve(Models.TieredTransferCreate) - Method in class com.tuladb.BufferedLedgerClient
 
tieredReserve(Models.TieredTransferCreate) - Method in class com.tuladb.LedgerClient
 
tieredReserve(Models.TieredTransferCreate) - Method in class com.tuladb.SmartLedgerClient
 
tieredReserveBatch(List<Models.TieredTransferCreate>) - Method in class com.tuladb.BufferedLedgerClient
 
tieredReserveBatch(List<Models.TieredTransferCreate>) - Method in class com.tuladb.LedgerClient
 
tieredReserveBatch(List<Models.TieredTransferCreate>) - Method in class com.tuladb.LedgerClientPool
 
tieredReserveBatch(List<Models.TieredTransferCreate>) - Method in class com.tuladb.SmartLedgerClient
 
tieredReserveBatch(List<Models.TieredTransferCreate>, int) - Method in interface com.tuladb.BufferedLedgerClient.Target
 
tieredReserveBatch(List<Models.TieredTransferCreate>, int) - Method in class com.tuladb.LedgerClient
As tieredReserveBatch, keeping pipelineDepth batch frames in flight on this connection.
tieredReserveBatch(List<Models.TieredTransferCreate>, int) - Method in class com.tuladb.SmartLedgerClient
As tieredReserveBatch, keeping depth batch frames in flight on the routed connection.
tieredReserveBatch(List<Models.TieredTransferCreate>, int, int) - Method in class com.tuladb.LedgerClientPool
 
tieredRollback(String) - Method in class com.tuladb.BufferedLedgerClient
 
tieredRollback(String) - Method in class com.tuladb.LedgerClient
 
tieredRollback(String) - Method in class com.tuladb.SmartLedgerClient
 
tieredRollbackBatch(List<String>) - Method in class com.tuladb.BufferedLedgerClient
 
tieredRollbackBatch(List<String>) - Method in class com.tuladb.LedgerClient
 
tieredRollbackBatch(List<String>) - Method in class com.tuladb.LedgerClientPool
 
tieredRollbackBatch(List<String>) - Method in class com.tuladb.SmartLedgerClient
 
tieredRollbackBatch(List<String>, int) - Method in interface com.tuladb.BufferedLedgerClient.Target
 
tieredRollbackBatch(List<String>, int) - Method in class com.tuladb.LedgerClient
As tieredRollbackBatch, keeping pipelineDepth batch frames in flight on this connection.
tieredRollbackBatch(List<String>, int) - Method in class com.tuladb.SmartLedgerClient
As tieredRollbackBatch, keeping depth batch frames in flight on the routed connection.
tieredRollbackBatch(List<String>, int, int) - Method in class com.tuladb.LedgerClientPool
 
tieredRollbackByKey(long, int, int, String) - Method in class com.tuladb.BufferedLedgerClient
 
tieredRollbackByKey(long, int, int, String) - Method in class com.tuladb.LedgerClient
 
tieredRollbackByKey(long, int, int, String) - Method in class com.tuladb.SmartLedgerClient
 
tieredTransfer(Models.TieredTransferCreate) - Method in class com.tuladb.BufferedLedgerClient
 
tieredTransfer(Models.TieredTransferCreate) - Method in class com.tuladb.LedgerClient
 
tieredTransfer(Models.TieredTransferCreate) - Method in class com.tuladb.SmartLedgerClient
 
tieredTransferBatch(List<Models.TieredTransferCreate>) - Method in class com.tuladb.BufferedLedgerClient
 
tieredTransferBatch(List<Models.TieredTransferCreate>) - Method in class com.tuladb.LedgerClient
 
tieredTransferBatch(List<Models.TieredTransferCreate>) - Method in class com.tuladb.LedgerClientPool
 
tieredTransferBatch(List<Models.TieredTransferCreate>) - Method in class com.tuladb.SmartLedgerClient
 
tieredTransferBatch(List<Models.TieredTransferCreate>, int) - Method in interface com.tuladb.BufferedLedgerClient.Target
 
tieredTransferBatch(List<Models.TieredTransferCreate>, int) - Method in class com.tuladb.BufferedLedgerClient
As tieredTransferBatch, keeping pipelineDepth frames in flight.
tieredTransferBatch(List<Models.TieredTransferCreate>, int) - Method in class com.tuladb.LedgerClient
As tieredTransferBatch, keeping pipelineDepth batch frames in flight on this connection.
tieredTransferBatch(List<Models.TieredTransferCreate>, int) - Method in class com.tuladb.SmartLedgerClient
As tieredTransferBatch, keeping depth batch frames in flight on the routed connection.
tieredTransferBatch(List<Models.TieredTransferCreate>, int, int) - Method in class com.tuladb.LedgerClientPool
 
TieredTransferCreate(long, int, int, long, long, byte, String, long, long, long, long, long, long, long, long) - Constructor for record class com.tuladb.Models.TieredTransferCreate
Creates an instance of a TieredTransferCreate record class.
TieredTransferResult(byte, int, long, long, long, long, long, long, long, long, long, long, long, long, int) - Constructor for record class com.tuladb.Models.TieredTransferResult
Creates an instance of a TieredTransferResult record class.
timeoutMs() - Method in exception class com.tuladb.LedgerClient.LedgerTimeoutException
 
timeouts() - Method in class com.tuladb.LedgerClient
 
Timeouts(int, int, int) - Constructor for record class com.tuladb.LedgerClient.Timeouts
Creates an instance of a Timeouts record class.
timestamp() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the timestamp record component.
timestamp() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the timestamp record component.
timestamp() - Method in record class com.tuladb.Models.AccountInfo
Returns the value of the timestamp record component.
timestamp() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the timestamp record component.
timestamp() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the timestamp record component.
timestamp() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the timestamp record component.
timestamp() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the timestamp record component.
TLS_HANDSHAKE - Enum constant in enum class com.tuladb.LedgerClient.LedgerTimeoutException.Phase
 
TlsOptions(boolean, boolean, String, String, String, String) - Constructor for record class com.tuladb.LedgerClient.TlsOptions
Creates an instance of a TlsOptions record class.
toMinor(int, String) - Method in class com.tuladb.currency.CurrencyScales
 
toMinor(int, BigDecimal) - Method in class com.tuladb.currency.CurrencyScales
 
toMinor(String, int) - Static method in class com.tuladb.currency.Amounts
Parse "800.00" at scale 2 into 80000.
toMinor(BigDecimal, int) - Static method in class com.tuladb.currency.Amounts
A BigDecimal held to the same rules as its exact plain-notation text: new BigDecimal("800.000") at scale 2 is refused, a negative value is invalid.
TOO_MANY_DECIMALS - Static variable in exception class com.tuladb.currency.AmountFormatException
 
toString() - Method in record class com.tuladb.Auth.Result
Returns a string representation of this record class.
toString() - Method in class com.tuladb.Auth
 
toString() - Method in record class com.tuladb.Codec.ListAccountsResult
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.currency.Currency
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Hlc.Parts
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.LedgerClient.Timeouts
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.LedgerClient.TlsOptions
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.LedgerClient.TxnStatus
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.AccountBalance
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.AccountCreate
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.AccountInfo
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.AccountKey
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.Balance
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.ClusterStatus
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.CurrencyInstance
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.LedgerInstance
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.RejectCreate
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.SourceInstance
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.TieredTransferResult
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.TransferCreate
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.TransferResult
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.TxnRecord
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.Models.TxnSearch
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.SmartLedgerClient.EndpointStatus
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.SmartLedgerClient.NodeEndpoint
Returns a string representation of this record class.
toString() - Method in record class com.tuladb.SmartLedgerClient.RetryPolicy
Returns a string representation of this record class.
total() - Method in record class com.tuladb.Codec.ListAccountsResult
Returns the value of the total record component.
totalLegAmount() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the totalLegAmount record component.
transfer(Models.TransferCreate) - Method in class com.tuladb.BufferedLedgerClient
 
transfer(Models.TransferCreate) - Method in class com.tuladb.LedgerClient
 
transfer(Models.TransferCreate) - Method in class com.tuladb.SmartLedgerClient
 
TRANSFER_CREATE_SIZE - Static variable in class com.tuladb.Codec
 
TRANSFER_ID_BASE62_LEN - Static variable in class com.tuladb.Codec
 
TRANSFER_ID_HEX_LEN - Static variable in class com.tuladb.Codec
 
TRANSFER_ID_LEN - Static variable in class com.tuladb.Codec
 
TRANSFER_ID_PUBLIC_BYTES - Static variable in class com.tuladb.Codec
 
TRANSFER_RESULT_SIZE - Static variable in class com.tuladb.Codec
 
transferBatch(List<Models.TransferCreate>) - Method in class com.tuladb.BufferedLedgerClient
 
transferBatch(List<Models.TransferCreate>) - Method in class com.tuladb.LedgerClient
 
transferBatch(List<Models.TransferCreate>) - Method in class com.tuladb.LedgerClientPool
 
transferBatch(List<Models.TransferCreate>) - Method in class com.tuladb.SmartLedgerClient
 
transferBatch(List<Models.TransferCreate>, int) - Method in interface com.tuladb.BufferedLedgerClient.Target
 
transferBatch(List<Models.TransferCreate>, int) - Method in class com.tuladb.BufferedLedgerClient
As transferBatch, keeping pipelineDepth frames in flight.
transferBatch(List<Models.TransferCreate>, int) - Method in class com.tuladb.LedgerClient
As transferBatch, keeping pipelineDepth batch frames in flight on this connection.
transferBatch(List<Models.TransferCreate>, int) - Method in class com.tuladb.SmartLedgerClient
As transferBatch, keeping depth batch frames in flight on the routed connection.
transferBatch(List<Models.TransferCreate>, int, int) - Method in class com.tuladb.LedgerClientPool
 
TransferCreate(long, int, int, long, long, long, long, long, String, byte, long) - Constructor for record class com.tuladb.Models.TransferCreate
 
TransferCreate(long, int, int, long, long, long, long, long, String, byte, long, int) - Constructor for record class com.tuladb.Models.TransferCreate
Creates an instance of a TransferCreate record class.
transferHi() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the transferHi record component.
transferHi() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the transferHi record component.
transferHi() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the transferHi record component.
transferHi() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the transferHi record component.
transferIdFromBytes(byte[]) - Static method in class com.tuladb.Codec
transferIdFromBytes(byte[], boolean) - Static method in class com.tuladb.Codec
Format a 32-byte wire transfer id in the client's id mode: 35-char Base62 (bytes 0..25) or 64-char hex.
TransferIdModeException() - Constructor for exception class com.tuladb.Codec.TransferIdModeException
 
transferLeadership(int) - Method in class com.tuladb.LedgerClient
Ask the leader to gracefully transfer leadership to targetNodeId (Raft §3.10).
transferLeadership(int) - Method in class com.tuladb.SmartLedgerClient
Gracefully transfer leadership to targetNodeId (Raft §3.10), routed to the current leader.
transferLo() - Method in record class com.tuladb.LedgerClient.WrappedTxnLeg
Returns the value of the transferLo record component.
transferLo() - Method in record class com.tuladb.Models.TieredTransferResult
Returns the value of the transferLo record component.
transferLo() - Method in record class com.tuladb.Models.TransferResult
Returns the value of the transferLo record component.
transferLo() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the transferLo record component.
TransferResult(byte, int, long, long, long, long, long, long, long, long, int) - Constructor for record class com.tuladb.Models.TransferResult
Creates an instance of a TransferResult record class.
ttlNs() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the ttlNs record component.
ttlNs() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the ttlNs record component.
TXN_BATCH_MAX - Static variable in class com.tuladb.LedgerClient
 
TXN_FLAG_REJECT - Static variable in class com.tuladb.LedgerClient
Explicit-reject transfer flag (TXN_FLAG_REJECT): the engine fixes the recorded result_code to ERR_UPSTREAM_REJECTED (41); the caller's own classification is RejectCreate.reasonCode, recorded verbatim.
TXN_ID_LEN - Static variable in class com.tuladb.Codec
 
TXN_RECORD_SIZE - Static variable in class com.tuladb.Codec
 
txnId() - Method in record class com.tuladb.LedgerClient.WrappedTxn
Returns the value of the txnId record component.
txnId() - Method in record class com.tuladb.Models.RejectCreate
Returns the value of the txnId record component.
txnId() - Method in record class com.tuladb.Models.TieredTransferCreate
Returns the value of the txnId record component.
txnId() - Method in record class com.tuladb.Models.TransferCreate
Returns the value of the txnId record component.
txnId() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the txnId record component.
txnId() - Method in record class com.tuladb.Models.TxnSearch
Returns the value of the txnId record component.
txnIdLen() - Method in record class com.tuladb.Models.TxnRecord
Returns the value of the txnIdLen record component.
TxnRecord(long, long, long, long, long, long, long, long, long, long, int, int, String, int, byte, byte, int, long, long, long, long, long, long, byte[], boolean, int, int, int) - Constructor for record class com.tuladb.Models.TxnRecord
Creates an instance of a TxnRecord record class.
TxnSearch(long, int, long, long, int, Integer, Integer, Long, Integer, Long, Long, Integer, Integer, Integer, String) - Constructor for record class com.tuladb.Models.TxnSearch
Creates an instance of a TxnSearch record class.
TxnSearch(long, long, long, int, Integer, Integer, Long, Integer, Long, Long, Integer, Integer, Integer, String) - Constructor for record class com.tuladb.Models.TxnSearch
 
TxnStatus(int, String, boolean, boolean) - Constructor for record class com.tuladb.LedgerClient.TxnStatus
Creates an instance of a TxnStatus record class.
type() - Method in class com.tuladb.Auth
 
TYPE_API_KEY - Static variable in class com.tuladb.Auth
API key (WIRE_AUTH_TYPE_API_KEY).
TYPE_BEARER - Static variable in class com.tuladb.Auth
JWT / OIDC bearer token (WIRE_AUTH_TYPE_BEARER).

U

u128Hi(byte[], int) - Static method in class com.tuladb.Protocol
 
u128Le(long, long) - Static method in class com.tuladb.Protocol
 
u128Lo(byte[], int) - Static method in class com.tuladb.Protocol
 
updateAccountLimitHigh(Models.AccountKey, long) - Method in class com.tuladb.BufferedLedgerClient
 
updateAccountLimitHigh(Models.AccountKey, long) - Method in class com.tuladb.LedgerClient
 
updateAccountLimitHigh(Models.AccountKey, long) - Method in class com.tuladb.SmartLedgerClient
 
updateAccountLimitLow(Models.AccountKey, long) - Method in class com.tuladb.BufferedLedgerClient
 
updateAccountLimitLow(Models.AccountKey, long) - Method in class com.tuladb.LedgerClient
 
updateAccountLimitLow(Models.AccountKey, long) - Method in class com.tuladb.SmartLedgerClient
 
updateMask() - Method in record class com.tuladb.Models.AccountMetadataEvent
Returns the value of the updateMask record component.
useIso20022RefSize() - Method in interface com.tuladb.BufferedLedgerClient.Target
The id-size rule ids derived by key must use; the client's own.
useIso20022RefSize() - Method in class com.tuladb.LedgerClient
Whether transfer ids use the ISO 20022 reference size (ids derived by key follow it).
useIso20022RefSize() - Method in class com.tuladb.LedgerClientPool
The id-size rule every connection in this pool uses.
useIso20022RefSize() - Method in class com.tuladb.SmartLedgerClient
Whether transfer ids use the ISO 20022 reference size (ids derived by key follow it).
useRegistry(CurrencyScales) - Method in class com.tuladb.currency.CurrencyCatalog
Take amount scales from the engine's currency registry instead of this catalog's file.

V

valueOf(String) - Static method in enum class com.tuladb.LedgerClient.LedgerTimeoutException.Phase
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.tuladb.SmartLedgerClient.RoutePolicy
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.tuladb.LedgerClient.LedgerTimeoutException.Phase
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.tuladb.SmartLedgerClient.RoutePolicy
Returns an array containing the constants of this enum class, in the order they are declared.
verifyPeer() - Method in record class com.tuladb.LedgerClient.TlsOptions
Returns the value of the verifyPeer record component.

W

wipe() - Method in class com.tuladb.Auth
Zero the credential in place.
WIRE_FLAG_ALLOW_FOLLOWER_READ - Static variable in class com.tuladb.Protocol
R2-H2: caller opts into stale follower reads.
WIRE_FLAG_BATCH_END - Static variable in class com.tuladb.Protocol
 
WIRE_FLAG_HAS_DEADLINE - Static variable in class com.tuladb.Protocol
R3-L7: deadline_remaining_ms is meaningful only when this flag is set.
WIRE_FLAG_INTERNAL_REPL - Static variable in class com.tuladb.Protocol
 
WIRE_FLAG_PROXY_BATCH - Static variable in class com.tuladb.Protocol
 
WIRE_MAGIC - Static variable in class com.tuladb.Protocol
 
WIRE_VERSION - Static variable in class com.tuladb.Protocol
3 = account key: an account is (ledger_id, currency, id) and every account-addressed request names it.
wireEncoded() - Method in interface com.tuladb.BufferedLedgerClient.Target
Whether items reach the engine through the SDK's own wire encoding.
withAuth(Auth) - Method in class com.tuladb.LedgerClient
Authenticate every connection this client opens with MSG_AUTH (see Auth): LedgerClient.connect() and every LedgerClient.reconnect() send it right after the TCP connect / TLS handshake, before any request, and fail with LedgerClient.LedgerAuthException if the engine refuses it.
withClient(LedgerClientPool.ClientCall<T>) - Method in class com.tuladb.LedgerClientPool
Borrow one member for the duration of call.
withReserveTtlNs(long) - Method in record class com.tuladb.Models.LedgerInstance
Same ledger with a reservation TTL applied.
WrappedTxn(long, String, int, long, long, byte, int, String, int, long, List<LedgerClient.WrappedTxnLeg>, int) - Constructor for record class com.tuladb.LedgerClient.WrappedTxn
Creates an instance of a WrappedTxn record class.
WrappedTxnLeg(long, long, long, long, long, long, long, byte, int, long, long, int) - Constructor for record class com.tuladb.LedgerClient.WrappedTxnLeg
Creates an instance of a WrappedTxnLeg record class.
WRITE - Enum constant in enum class com.tuladb.LedgerClient.LedgerTimeoutException.Phase
 
writeMs() - Method in record class com.tuladb.LedgerClient.Timeouts
Returns the value of the writeMs record component.
A B C D E F G H I K L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form