|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.io.journal.JournalService
public class JournalService
A JournalService manages the lifecycle for the RamJournalRM
, FlashJournalRM
, and the BackupJournalRM
.
Field Summary | |
---|---|
static java.lang.String |
JOURNAL_SERVICE_NAME The name of the JournalService as a registered resource. |
Constructor Summary | |
---|---|
protected |
JournalService(Cluster cluster) Construct the JournalService associated with the specified Cluster . |
Method Summary | |
---|---|
void |
dispose() Shut down and release the RAM, flash and backup Journal Resource Managers. |
BackupJournalRM |
ensureBackupJournalRM() Ensure there is a configured BackupJournalRM. |
FlashJournalRM |
ensureFlashJournalRM() Ensure there is a configured FlashJournalRM. |
static JournalService |
ensureJournalService(Cluster cluster) Ensure the JournalService is registered as a cluster resource. |
RamJournalRM |
ensureRamJournalRM() Ensure there is a configured RAMJournalRM. |
Cluster |
getCluster() Returns the Cluster for which this JournalService is storing data. |
Field Detail |
---|
public static final java.lang.String JOURNAL_SERVICE_NAME
JournalService
as a registered resource.
Constructor Detail |
---|
protected JournalService(Cluster cluster)
JournalService
associated with the specified Cluster
.
cluster
- the Cluster
for which the JournalService
is storing dataMethod Detail |
---|
public void dispose()
dispose
in interface com.oracle.common.base.Disposable
public static JournalService ensureJournalService(Cluster cluster)
JournalService
is registered as a cluster resource.cluster
- the Cluster
for which the JournalService
is storing dataJournalService
public FlashJournalRM ensureFlashJournalRM()
FlashJournalRM
for usepublic RamJournalRM ensureRamJournalRM()
RamJournalRM
to be usedpublic BackupJournalRM ensureBackupJournalRM()
BackupJournalRM
to be usedpublic Cluster getCluster()
Cluster
for which this JournalService
is storing data.Cluster
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |