public interface IJournal extends IMRMW, IAtomicStore, IBTreeManager
NULL| Modifier and Type | Method and Description |
|---|---|
long |
awaitHAReady(long timeout,
TimeUnit units)
Await the service being ready to partitipate in an HA quorum.
|
ILocalTransactionManager |
getLocalTransactionManager()
Return the object providing the local transaction manager for this
journal.
|
Properties |
getProperties()
A copy of the properties used to initialize this journal.
|
Quorum<HAGlue,QuorumService<HAGlue>> |
getQuorum()
The
Quorum for this service -or- null if the service
is not running with a quorum. |
boolean |
isHAJournal()
Convenience method created in BLZG-1370 to factor out bigdata-jini
artifact dependencies.
|
void |
shutdown()
Shutdown the journal politely.
|
void |
shutdownNow()
Immediate shutdown.
|
abort, commit, getCommitRecord, getRootAddr, getRootBlockView, isDirty, setCommitterclose, delete, deleteResources, destroy, force, getFile, getResourceMetadata, getUUID, isFullyBuffered, isOpen, isReadOnly, isStable, read, size, writegetByteCount, getOffset, getPhysicalAddress, toAddr, toStringgetInputStream, getOutputStreamgetIndex, registerIndex, registerIndexgetIndex, isGroupCommitaddScheduledTask, destroy, getCollectPlatformStatistics, getCollectQueueStatistics, getExecutorService, getGlobalFileSystem, getGlobalRowStore, getGlobalRowStore, getHttpdPort, getLastCommitTime, getResourceLocator, getResourceLockService, getTempStoregetCountersgetIndexLocal, getUnisolatedIndex, registerdropIndex, indexNameScan, registerIndexProperties getProperties()
void shutdown()
void shutdownNow()
ILocalTransactionManager getLocalTransactionManager()
Quorum<HAGlue,QuorumService<HAGlue>> getQuorum()
Quorum for this service -or- null if the service
is not running with a quorum.long awaitHAReady(long timeout,
TimeUnit units)
throws InterruptedException,
TimeoutException,
AsynchronousQuorumCloseException
#setQuorumToken(long)
commitCounter:=0, then the root blocks from the leader have
been installed on the follower.timeout - The timeout to await this condition.units - The units for that timeout.InterruptedExceptionTimeoutExceptionAsynchronousQuorumCloseExceptionboolean isHAJournal()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.