org.ehcache.transactions.xa.journal
Interface JournalProvider
- All Superinterfaces:
- Service
- All Known Implementing Classes:
- DefaultJournalProvider
public interface JournalProvider
- extends Service
Provider of Journal
implementations.
getJournal
<K> Journal<K> getJournal(LocalPersistenceService.PersistenceSpaceIdentifier persistentSpaceId,
Serializer<K> keySerializer)
- Get the
Journal
implementation.
- Type Parameters:
K
- the store's key type.- Parameters:
persistentSpaceId
- the ID of a persistent space, or null if the journal does not need to be persisted.keySerializer
- the key serializer, or null if the journal does not need to be persisted.
- Returns:
- a
Journal
implementation.