Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


com.tangosol.io.journal
Class JournalService

java.lang.Object
  extended by com.tangosol.io.journal.JournalService

All Implemented Interfaces:
Disposable

public class JournalService
extends java.lang.Object
implements Disposable

A JournalService manages the lifecycle for the RamJournalRM, FlashJournalRM, and the BackupJournalRM.

Since:
Coherence 3.7
Author:
cf 2010.12.10

Constructor Summary
JournalService(Cluster cluster)
          Standard constructor.

 

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.
 RamJournalRM ensureRamJournalRM()
          Ensure there is a configured RAMJournalRM.

 

Constructor Detail

JournalService

public JournalService(Cluster cluster)
Standard constructor.
Parameters:
cluster - the Cluster for which the JournalService is storing data

Method Detail

dispose

public void dispose()
Shut down and release the RAM, flash and backup Journal Resource Managers.
Since:
Coherence 3.7

ensureFlashJournalRM

public FlashJournalRM ensureFlashJournalRM()
Ensure there is a configured FlashJournalRM.
Returns:
a FlashJournalRM for use
Since:
Coherence 3.7

ensureRamJournalRM

public RamJournalRM ensureRamJournalRM()
Ensure there is a configured RAMJournalRM.
Returns:
a RamJournalRM to be used
Since:
Coherence 3.7

ensureBackupJournalRM

public BackupJournalRM ensureBackupJournalRM()
Ensure there is a configured BackupJournalRM.
Returns:
a BackupJournalRM to be used
Since:
Coherence 3.7.1

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.1.0

E22843-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.