Skip navigation links

Package org.apache.cassandra.hints

Hints subsystem consists of several components.

See: Description

Package org.apache.cassandra.hints Description

Hints subsystem consists of several components. Hint encodes all the required metadata and the mutation being hinted. HintsBuffer provides a temporary buffer for writing the hints to in a concurrent manner, before we flush them to disk. HintsBufferPool is responsible for submitting HintsBuffer instances for flushing when they exceed their capacity, and for maitaining a reserve HintsBuffer instance, and creating extra ones if flushing cannot keep up with arrival rate. HintsWriteExecutor is a single-threaded executor that performs all the writing to disk. HintsDispatchExecutor is a multi-threaded executor responsible for dispatch of the hints to their destinations. HintsStore tracks the state of all hints files (written and being written to) for a given host id destination. HintsCatalog maintains the mapping of host ids to HintsStore instances, and provides some aggregate APIs. HintsService wraps the catalog, the pool, and the two executors, acting as a front-end for hints.
Skip navigation links

Copyright © 2019 The Apache Software Foundation