|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.transactions.xa.journal.DefaultJournalProvider
public class DefaultJournalProvider
| Constructor Summary | |
|---|---|
DefaultJournalProvider()
|
|
| Method Summary | ||
|---|---|---|
|
getJournal(LocalPersistenceService.PersistenceSpaceIdentifier persistentSpaceId,
Serializer<K> keySerializer)
Get the Journal implementation. |
|
void |
start(ServiceProvider serviceProvider)
Start this service using the provided configuration and ServiceProvider. |
|
void |
stop()
Stops this service. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultJournalProvider()
| Method Detail |
|---|
public void start(ServiceProvider serviceProvider)
ServiceServiceProvider.
The goal of the service provider is to allow a service to use other services.
start in interface ServiceserviceProvider - the service provider.public void stop()
Service
stop in interface Service
public <K> Journal<K> getJournal(LocalPersistenceService.PersistenceSpaceIdentifier persistentSpaceId,
Serializer<K> keySerializer)
JournalProviderJournal implementation.
getJournal in interface JournalProviderK - the store's key type.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.
Journal implementation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||