Package org.eclipse.emf.cdo.spi.server
Class RepositoryActivityLog
java.lang.Object
org.eclipse.net4j.util.event.Notifier
org.eclipse.net4j.util.lifecycle.Lifecycle
org.eclipse.net4j.util.lifecycle.LifecycleHook<IRepository>
org.eclipse.emf.cdo.spi.server.RepositoryActivityLog
- All Implemented Interfaces:
org.eclipse.net4j.util.event.INotifier
,org.eclipse.net4j.util.event.INotifier.INotifier2
,org.eclipse.net4j.util.lifecycle.IDeactivateable
,org.eclipse.net4j.util.lifecycle.ILifecycle
,org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
,org.eclipse.net4j.util.om.log.Log
- Direct Known Subclasses:
RepositoryActivityLog.Rolling
public abstract class RepositoryActivityLog
extends org.eclipse.net4j.util.lifecycle.LifecycleHook<IRepository>
implements org.eclipse.net4j.util.om.log.Log
- Since:
- 4.7
- Author:
- Eike Stepper
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.lifecycle.ILifecycle
org.eclipse.net4j.util.lifecycle.ILifecycle.DeferrableActivation
Nested classes/interfaces inherited from interface org.eclipse.net4j.util.event.INotifier
org.eclipse.net4j.util.event.INotifier.INotifier2
-
Field Summary
Fields inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
USE_LABEL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
commitFinished
(IStoreAccessor.CommitContext commitContext, int concurrentCommits) protected void
commitStarted
(IStoreAccessor.CommitContext commitContext, int concurrentCommits, int commits) protected void
delegateAboutToDeactivate
(IRepository delegate) protected void
delegateActivated
(IRepository delegate) protected String
formatSession
(ISession session) protected String
formatUser
(ISession session) protected String
formatView
(IView view) protected void
hookDelegate
(IRepository repository) protected void
sessionClosed
(ISession session, int concurrentSessions) protected void
sessionOpened
(ISession session, int concurrentSessions, int sessions) void
setRepository
(IRepository repository) protected void
transactionClosed
(ITransaction transaction, int concurrentTransactions) protected void
transactionOpened
(ITransaction transaction, int concurrentTransactions, int transactions) protected void
unhookDelegate
(IRepository repository) protected void
viewClosed
(IView view, int concurrentViews) protected void
viewOpened
(IView view, int concurrentViews, int views) Methods inherited from class org.eclipse.net4j.util.lifecycle.LifecycleHook
delegateAboutToActivate, delegateChanged, delegateDeactivated, delegateEvent, doActivate, doDeactivate, getDelegate, hookInactiveDelegates, setDelegate
Methods inherited from class org.eclipse.net4j.util.lifecycle.Lifecycle
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toString
Methods inherited from class org.eclipse.net4j.util.event.Notifier
addListener, addUniqueListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListener, hasListeners, lastListenerRemoved, listenerAdded, listenerRemoved, removeListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.net4j.util.event.INotifier
addListener, getListeners, hasListeners, removeListener
Methods inherited from interface org.eclipse.net4j.util.om.log.Log
log
-
Constructor Details
-
RepositoryActivityLog
public RepositoryActivityLog()
-
-
Method Details
-
getRepository
-
setRepository
-
sessionOpened
-
sessionClosed
-
viewOpened
-
viewClosed
-
transactionOpened
protected void transactionOpened(ITransaction transaction, int concurrentTransactions, int transactions) -
transactionClosed
-
commitStarted
protected void commitStarted(IStoreAccessor.CommitContext commitContext, int concurrentCommits, int commits) -
commitFinished
-
formatSession
-
formatUser
-
formatView
-
delegateActivated
- Overrides:
delegateActivated
in classorg.eclipse.net4j.util.lifecycle.LifecycleHook<IRepository>
- Since:
- 4.8
-
delegateAboutToDeactivate
- Overrides:
delegateAboutToDeactivate
in classorg.eclipse.net4j.util.lifecycle.LifecycleHook<IRepository>
- Since:
- 4.8
-
hookDelegate
- Overrides:
hookDelegate
in classorg.eclipse.net4j.util.lifecycle.LifecycleHook<IRepository>
-
unhookDelegate
- Overrides:
unhookDelegate
in classorg.eclipse.net4j.util.lifecycle.LifecycleHook<IRepository>
-