Skip to content

Instantly share code, notes, and snippets.

@arjunsk
Created May 12, 2022 17:50
Show Gist options
  • Save arjunsk/1cfe2d0bd5f19fe580e236829368472d to your computer and use it in GitHub Desktop.
Save arjunsk/1cfe2d0bd5f19fe580e236829368472d to your computer and use it in GitHub Desktop.
public class DefaultRheaKVStore implements RheaKVStore {
private static final Logger LOG = LoggerFactory
.getLogger(DefaultRheaKVStore.class);
static {
ExtSerializerSupports.init();
}
private final StateListenerContainer<Long> stateListenerContainer = new StateListenerContainer<>();
private StoreEngine storeEngine;
private PlacementDriverClient pdClient;
private RheaKVRpcService rheaKVRpcService;
private RheaKVStoreOptions opts;
private int failoverRetries;
private long futureTimeoutMillis;
private boolean onlyLeaderRead;
private Dispatcher kvDispatcher;
private BatchingOptions batchingOpts;
private GetBatching getBatching;
private GetBatching getBatchingOnlySafe;
private PutBatching putBatching;
private volatile boolean started;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment