Uses of Class
com.tuladb.LedgerClient
Packages that use LedgerClient
-
Uses of LedgerClient in com.tuladb
Methods in com.tuladb that return LedgerClientModifier and TypeMethodDescriptionBufferedLedgerClient.client()The connection this client wraps;nullover a pool or smart client.default LedgerClientBufferedLedgerClient.Target.client()The single connection behind this target, for the calls that are not batched (reads, registry, admin);nullwhen there is none (a pool, a smart client, a test double).Authenticate every connection this client opens with MSG_AUTH (seeAuth):connect()and everyreconnect()send it right after the TCP connect / TLS handshake, before any request, and fail withLedgerClient.LedgerAuthExceptionif the engine refuses it.Methods in com.tuladb with parameters of type LedgerClientModifier and TypeMethodDescriptionstatic BufferedLedgerClient.TargetBufferedLedgerClient.of(LedgerClient c) Adapter for a single connection.Constructors in com.tuladb with parameters of type LedgerClientModifierConstructorDescriptionBufferedLedgerClient(LedgerClient client) Over one connection, with the defaults (2 ms, one frame in flight, 1024 per frame).BufferedLedgerClient(LedgerClient client, double flushIntervalMs, int maxBatch) Over one connection.