public SharedBatchWriter getBatchWriter() { checkIfClosed(); return sbw; }
public ConditionalWriter getConditionalWriter() { checkIfClosed(); return cw; }
public CuratorFramework getCurator() { checkIfClosed(); return curator; }
public ConditionalWriter getBulkConditionalWriter() { checkIfClosed(); return bulkCw; }
public TxInfoCache getTxInfoCache() { checkIfClosed(); return txInfoCache; }
public VisibilityCache getVisCache() { checkIfClosed(); return visCache; }
public synchronized OracleClient getOracleClient() { checkIfClosed(); if (oracleClient == null) { oracleClient = new OracleClient(env); } return oracleClient; }
public synchronized TransactorID getTransactorID() { checkIfClosed(); if (tid == null) { tid = new TransactorID(env); } return tid; }
public synchronized TransactorCache getTransactorCache() { checkIfClosed(); if (transactorCache == null) { transactorCache = new TransactorCache(env); } else if (transactorCache.getStatus() == TcStatus.CLOSED) { throw new IllegalStateException("TransactorCache is closed!"); } return transactorCache; }
public synchronized TimestampTracker getTimestampTracker() { checkIfClosed(); if (tsTracker == null) { tsTracker = new TimestampTracker(env, getTransactorID()); } return tsTracker; }
public synchronized TransactorNode getTransactorNode() { checkIfClosed(); if (tnode == null) { tnode = new TransactorNode(env, getTransactorID()); } else if (tnode.getStatus() == TrStatus.CLOSED) { throw new IllegalStateException("TransactorNode is closed!"); } return tnode; }