HibernateStats that does nothing
| Modifier and Type | Field and Description |
|---|---|
| public static final HibernateStats | INSTANCE
Singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| INSTANCE | back to summary |
|---|---|
| public static final HibernateStats INSTANCE Singleton instance. | |
| NullHibernateStats | back to summary |
|---|---|
| private NullHibernateStats() private constructor. No need to create instances of this. Use singleton instance | |
| addNotificationListener | back to summary |
|---|---|
| public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException Implements javax. Doc from javax. Adds a listener to this MBean.
| |
| clearStats | back to summary |
|---|---|
| public void clearStats() Implements net. Doc from net. Clears statistics, resets all counters to zero | |
| disableStats | back to summary |
|---|---|
| public void disableStats() Implements net. Doc from net. Disables statistics collection | |
| enableStats | back to summary |
|---|---|
| public void enableStats() Implements net. Doc from net. Enables statistics collection | |
| getCacheRegionStats | back to summary |
|---|---|
| public TabularData getCacheRegionStats() Implements net. Doc from net. Returns
| |
| getCloseStatementCount | back to summary |
|---|---|
| public long getCloseStatementCount() Implements net. Doc from net. Returns the count of close statements
| |
| getCollectionStats | back to summary |
|---|---|
| public TabularData getCollectionStats() Implements net. Doc from net. Returns
| |
| getConnectCount | back to summary |
|---|---|
| public long getConnectCount() Implements net. Doc from net. Return connect counts
| |
| getDBSQLExecutionSample | back to summary |
|---|---|
| public long getDBSQLExecutionSample() Not supported right now | |
| getEntityStats | back to summary |
|---|---|
| public TabularData getEntityStats() Implements net. Doc from net. Returns
| |
| getFlushCount | back to summary |
|---|---|
| public long getFlushCount() Implements net. Doc from net. Returns flush count
| |
| getNotificationInfo | back to summary |
|---|---|
| public MBeanNotificationInfo[] getNotificationInfo() Implements javax. Doc from javax. Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type. It is not illegal for the MBean to send notifications not described in this array. However, some clients of the MBean server may depend on the array being complete for their correct functioning.
| |
| getOptimisticFailureCount | back to summary |
|---|---|
| public long getOptimisticFailureCount() Implements net. Doc from net. Returns Optimistic failure count
| |
| getPrepareStatementCount | back to summary |
|---|---|
| public long getPrepareStatementCount() Implements net. Doc from net. Returns prepare statement count
| |
| getQueryExecutionCount | back to summary |
|---|---|
| public long getQueryExecutionCount() Implements net. Doc from net. Returns the query execution count. This includes only HQL's
| |
| getQueryExecutionRate | back to summary |
|---|---|
| public double getQueryExecutionRate() Implements net. Doc from net. Returns rate of HQL query executed in the DB
| |
| getQueryExecutionSample | back to summary |
|---|---|
| public long getQueryExecutionSample() Implements net. Doc from net. Returns last count sample of HQL's getting executed in the DB.
| |
| getQueryStats | back to summary |
|---|---|
| public TabularData getQueryStats() Implements net. Doc from net. Returns
| |
| getSessionCloseCount | back to summary |
|---|---|
| public long getSessionCloseCount() Implements net. Doc from net. Returns session close count
| |
| getSessionOpenCount | back to summary |
|---|---|
| public long getSessionOpenCount() Implements net. Doc from net. Returns session open count
| |
| getSuccessfulTransactionCount | back to summary |
|---|---|
| public long getSuccessfulTransactionCount() Implements net. Doc from net. Returns successful transaction count
| |
| getTransactionCount | back to summary |
|---|---|
| public long getTransactionCount() Implements net. Doc from net. Returns transaction count
| |
| isStatisticsEnabled | back to summary |
|---|---|
| public boolean isStatisticsEnabled() Implements net. Doc from net. Returns true if statistics collection is enabled otherwise false
| |
| removeNotificationListener | back to summary |
|---|---|
| public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException Implements javax. Doc from javax. Removes a listener from this MBean. The MBean must have a
listener that exactly matches the given The
| |
| removeNotificationListener | back to summary |
|---|---|
| public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException Implements javax. Doc from javax. Removes a listener from this MBean. If the listener has been registered with different handback objects or notification filters, all entries corresponding to the listener will be removed.
| |
| setStatisticsEnabled | back to summary |
|---|---|
| public void setStatisticsEnabled(boolean flag) Implements net. Doc from net. Enable/Disable statistics collection | |