public class StandbyComponent extends DefaultComponent
| Modifier and Type | Field and Description |
|---|---|
protected com.codahale.metrics.Counter |
active |
protected StandbyCommand |
command |
protected ThreadLocal<com.codahale.metrics.Timer.Context> |
holder |
protected com.codahale.metrics.Meter |
meter |
protected ThreadEventListener |
threadsListener |
protected com.codahale.metrics.Timer |
timer |
lastModified, name| Constructor and Description |
|---|
StandbyComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ComponentContext context)
Activates the component.
|
void |
deactivate(ComponentContext context)
Deactivates the component.
|
getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtensionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplicationStarted, getApplicationStartedOrderprotected final StandbyCommand command
protected final com.codahale.metrics.Counter active
protected final com.codahale.metrics.Meter meter
protected final com.codahale.metrics.Timer timer
protected final ThreadLocal<com.codahale.metrics.Timer.Context> holder
protected final ThreadEventListener threadsListener
public StandbyComponent()
public void activate(ComponentContext context)
ComponentThis method is called by the runtime when a component is activated.
activate in interface Componentactivate in class DefaultComponentcontext - the runtime contextpublic void deactivate(ComponentContext context)
ComponentThis method is called by the runtime when a component is deactivated.
deactivate in interface Componentdeactivate in class DefaultComponentcontext - the runtime contextCopyright © 2019 Nuxeo. All rights reserved.