@honua/sdk-js
    Preparing search index...

    Interface ColumnarBatchCacheOptionsExperimental

    interface ColumnarBatchCacheOptions {
        maxAgeMs?: number;
        maxRecords?: number;
        now?: () => number;
        onDiagnostic?: (diagnostic: ColumnarBatchCacheDiagnosticV1) => void;
        quotaBytes?: number;
        serialization?: GeoArrowSerializationOptions;
        telemetry?: ColumnarTelemetry;
    }
    Index

    Properties

    maxAgeMs?: number

    Maximum entry age before a read reports stale.

    3600000
    
    maxRecords?: number

    Maximum retained entries; the oldest is evicted first.

    64
    
    now?: () => number
    onDiagnostic?: (diagnostic: ColumnarBatchCacheDiagnosticV1) => void

    Receives every miss, stale read, refusal, and storage failure. Must not throw.

    quotaBytes?: number

    Byte quota across stored envelopes.

    67108864
    

    Bounds applied to every serialize and deserialize this store performs.

    telemetry?: ColumnarTelemetry

    Optional observer for this store. Off by default, and independent of ColumnarBatchCacheOptions.onDiagnostic: a caller already using the callback keeps it, and a caller wiring the SDK's telemetry seam sees the same operation and reason discriminants on identity-bound columnar-cache-read and columnar-cache-write spans.