| 
 | 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
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_NAMEThe name of the JournalServiceas a registered resource. | 
| Constructor Summary | |
|---|---|
| protected | JournalService(Cluster cluster)Construct the JournalServiceassociated with the specifiedCluster. | 
| 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 JournalServiceis registered as a cluster resource. | 
|  RamJournalRM | ensureRamJournalRM()Ensure there is a configured RAMJournalRM. | 
|  Cluster | getCluster()Returns the Clusterfor which thisJournalServiceis 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 data| Method Detail | 
|---|
public void dispose()
dispose in interface com.oracle.common.base.Disposablepublic static JournalService ensureJournalService(Cluster cluster)
JournalService is registered as a cluster resource.cluster - the Cluster for which the JournalService is storing dataJournalServicepublic 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 | |||||||