public class MemoryBufferRecorder extends AbstractRecordProcessor implements MemoryBufferRecorderMBean, Serializable
filters, name, processDate, processDestinationHost, processEnvelope, processHeaders, processMessageType, processOperation, processSourceHost, recording
Constructor and Description |
---|
MemoryBufferRecorder() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Set<String> |
getClientHosts()
Gets a set containing the client hosts of the last saved records.
|
Map<String,List<org.jboss.ws.api.monitoring.Record>> |
getMatchingRecords(org.jboss.ws.api.monitoring.RecordFilter[] filters)
Gets the records matching the provided filters.
|
int |
getMaxSize()
Gets the current buffer max size (i.e.
|
String |
getRecordsAsHTMLTable(boolean groupRecords,
boolean showDetails)
Shows all the records as a HTML table
|
Map<String,List<org.jboss.ws.api.monitoring.Record>> |
getRecordsByClientHost(String clientHost)
Gets the records with the given client host.
|
String |
getRecordsByClientHostAsHTMLTable(boolean groupRecords,
boolean showDetails,
String clientHost)
Shows the records with the given client host as a HTML table.
|
Map<String,List<org.jboss.ws.api.monitoring.Record>> |
getRecordsByOperation(String namespace,
String localPart)
Gets the records with the given operation.
|
String |
getRecordsByOperationAsHTMLTable(boolean groupRecords,
boolean showDetails,
String namespace,
String localPart)
Shows the records with the given operation as a HTML table.
|
int |
getSize()
Gets the buffer's current size
|
void |
processRecord(org.jboss.ws.api.monitoring.Record record) |
void |
setMaxSize(int maxSize) |
addFilter, getFilters, getName, isProcessDate, isProcessDestinationHost, isProcessEnvelope, isProcessHeaders, isProcessMessageType, isProcessOperation, isProcessSourceHost, isRecording, setFilters, setName, setProcessDate, setProcessDestinationHost, setProcessEnvelope, setProcessHeaders, setProcessMessageType, setProcessOperation, setProcessSourceHost, setRecording, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addFilter, getFilters, isProcessDate, isProcessDestinationHost, isProcessEnvelope, isProcessHeaders, isProcessMessageType, isProcessOperation, isProcessSourceHost, isRecording, setFilters, setProcessDate, setProcessDestinationHost, setProcessEnvelope, setProcessHeaders, setProcessMessageType, setProcessOperation, setProcessSourceHost, setRecording
public void processRecord(org.jboss.ws.api.monitoring.Record record)
processRecord
in interface org.jboss.ws.api.monitoring.RecordProcessor
processRecord
in interface ManagedRecordProcessorMBean
processRecord
in class AbstractRecordProcessor
public Set<String> getClientHosts()
MemoryBufferRecorderMBean
getClientHosts
in interface MemoryBufferRecorderMBean
public Map<String,List<org.jboss.ws.api.monitoring.Record>> getMatchingRecords(org.jboss.ws.api.monitoring.RecordFilter[] filters)
MemoryBufferRecorderMBean
getMatchingRecords
in interface MemoryBufferRecorderMBean
public Map<String,List<org.jboss.ws.api.monitoring.Record>> getRecordsByClientHost(String clientHost)
MemoryBufferRecorderMBean
getRecordsByClientHost
in interface MemoryBufferRecorderMBean
public String getRecordsByClientHostAsHTMLTable(boolean groupRecords, boolean showDetails, String clientHost)
MemoryBufferRecorderMBean
getRecordsByClientHostAsHTMLTable
in interface MemoryBufferRecorderMBean
public Map<String,List<org.jboss.ws.api.monitoring.Record>> getRecordsByOperation(String namespace, String localPart)
MemoryBufferRecorderMBean
getRecordsByOperation
in interface MemoryBufferRecorderMBean
public String getRecordsByOperationAsHTMLTable(boolean groupRecords, boolean showDetails, String namespace, String localPart)
MemoryBufferRecorderMBean
getRecordsByOperationAsHTMLTable
in interface MemoryBufferRecorderMBean
public int getMaxSize()
MemoryBufferRecorderMBean
getMaxSize
in interface MemoryBufferRecorderMBean
public void setMaxSize(int maxSize)
setMaxSize
in interface MemoryBufferRecorderMBean
public int getSize()
MemoryBufferRecorderMBean
getSize
in interface MemoryBufferRecorderMBean
public String getRecordsAsHTMLTable(boolean groupRecords, boolean showDetails)
MemoryBufferRecorderMBean
getRecordsAsHTMLTable
in interface MemoryBufferRecorderMBean
groupRecords
- whether the records should be grouped using the group IDshowDetails
- whether to show headers and envelopespublic Object clone() throws CloneNotSupportedException
clone
in interface org.jboss.ws.api.monitoring.RecordProcessor
clone
in class AbstractRecordProcessor
CloneNotSupportedException
Copyright © 2016 JBoss, by Red Hat. All rights reserved.