@Name(value="eventMonitoringAction") @Scope(value=EVENT) public class EventMonitoringActionBean extends Object implements Serializable
EventMonitoring
to expose it to JSF/Seam layerModifier and Type | Field and Description |
---|---|
protected EventMonitoring |
monitor |
Constructor and Description |
---|
EventMonitoringActionBean() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanSeamEventCache() |
void |
disableAsyncTracking() |
void |
disableSyncTracking() |
void |
enableAsyncTracking() |
void |
enableSyncTracking() |
protected List<List<String>> |
formatStats(String stats) |
int |
getActiveThreads() |
List<List<String>> |
getAsyncStats() |
protected EventMonitoring |
getEventMonitoring() |
String |
getEventStatistics() |
int |
getQueuedEvents() |
List<List<String>> |
getSyncStats() |
boolean |
isAsyncTrackingEnabled() |
boolean |
isSyncTrackingEnabled() |
void |
refresh() |
protected EventMonitoring monitor
public EventMonitoringActionBean()
protected EventMonitoring getEventMonitoring()
public int getActiveThreads()
public int getQueuedEvents()
@Factory(value="eventSyncStats", scope=EVENT) public List<List<String>> getSyncStats()
@Factory(value="eventAsyncStats", scope=EVENT) public List<List<String>> getAsyncStats()
protected List<List<String>> formatStats(String stats)
public void refresh()
public String getEventStatistics()
protected void cleanSeamEventCache()
public void enableSyncTracking()
public void enableAsyncTracking()
public void disableSyncTracking()
public void disableAsyncTracking()
@Factory(value="eventSyncTrackingEnabled", scope=EVENT) public boolean isSyncTrackingEnabled()
@Factory(value="eventAsyncTrackingEnabled", scope=EVENT) public boolean isAsyncTrackingEnabled()
Copyright © 2018 Nuxeo. All rights reserved.