| Modifier and Type | Class and Description |
|---|---|
| private static class | ProviderMBeanRegistrationHelper.RegisterMBeansTask
Task for running mbean registration that can be scheduled in a timer |
| Modifier and Type | Field and Description |
|---|---|
| private volatile EhcacheHibernateMBeanRegistrationImpl | |
| private static final Logger | |
| private static final int | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Field | |
| public void | registerMBean(final CacheManager
the backing cachemanager manager, final Properties session factory config properties properties)Registers mbean for the input cache manager and the session factory name |
| public void |
| ehcacheHibernateMBeanRegistration | back to summary |
|---|---|
| private volatile EhcacheHibernateMBeanRegistrationImpl ehcacheHibernateMBeanRegistration | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| MILLIS_PER_SECOND | back to summary |
|---|---|
| private static final int MILLIS_PER_SECOND | |
| SLEEP_MILLIS | back to summary |
|---|---|
| private static final int SLEEP_MILLIS | |
| ProviderMBeanRegistrationHelper | back to summary |
|---|---|
| public ProviderMBeanRegistrationHelper() | |
| getField | back to summary |
|---|---|
| private static Field getField(Class<T> c, String fieldName) | |
| registerMBean | back to summary |
|---|---|
| public void registerMBean(final CacheManager manager, final Properties properties) Registers mbean for the input cache manager and the session factory name
| |
| unregisterMBean | back to summary |
|---|---|
| public void unregisterMBean() Unregisters previously registered mbean. | |
| Modifier and Type | Field and Description |
|---|---|
| private final EhcacheHibernateMBeanRegistrationImpl | |
| private final CacheManager | |
| private final AtomicBoolean | |
| private static final int | |
| private final Properties | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | RegisterMBeansTask(EhcacheHibernateMBeanRegistrationImpl ehcacheHibernateMBeanRegistration, CacheManager manager, Properties properties)
|
| Modifier and Type | Method and Description |
|---|---|
| private SessionFactory | |
| public void | run()
Implements abstract java. Implements java. |
| ehcacheHibernateMBeanRegistration | back to summary |
|---|---|
| private final EhcacheHibernateMBeanRegistrationImpl ehcacheHibernateMBeanRegistration | |
| manager | back to summary |
|---|---|
| private final CacheManager manager | |
| mbeanRegistered | back to summary |
|---|---|
| private final AtomicBoolean mbeanRegistered | |
| NUM_SECONDS | back to summary |
|---|---|
| private static final int NUM_SECONDS | |
| properties | back to summary |
|---|---|
| private final Properties properties | |
| startTime | back to summary |
|---|---|
| private long startTime | |
| RegisterMBeansTask | back to summary |
|---|---|
| public RegisterMBeansTask(EhcacheHibernateMBeanRegistrationImpl ehcacheHibernateMBeanRegistration, CacheManager manager, Properties properties) | |
| locateSessionFactory | back to summary |
|---|---|
| private SessionFactory locateSessionFactory() | |
| run | back to summary |
|---|---|
| public void run() Implements abstract java. Implements java. Doc from java. The action to be performed by this timer task.
| |