Author: alessio.soldano(a)jboss.com
Date: 2007-12-17 19:22:52 -0500 (Mon, 17 Dec 2007)
New Revision: 5339
Modified:
framework/branches/asoldano/trunk/src/main/java/org/jboss/wsf/framework/management/recording/LogRecorder.java
framework/branches/asoldano/trunk/src/main/java/org/jboss/wsf/framework/management/recording/RecordExtractor.java
Log:
Comments
Modified:
framework/branches/asoldano/trunk/src/main/java/org/jboss/wsf/framework/management/recording/LogRecorder.java
===================================================================
---
framework/branches/asoldano/trunk/src/main/java/org/jboss/wsf/framework/management/recording/LogRecorder.java 2007-12-17
15:50:33 UTC (rev 5338)
+++
framework/branches/asoldano/trunk/src/main/java/org/jboss/wsf/framework/management/recording/LogRecorder.java 2007-12-18
00:22:52 UTC (rev 5339)
@@ -31,6 +31,7 @@
import org.jboss.wsf.spi.management.recording.Record.MessageType;
/**
+ * A simple record processor that writes records to the configured log.
*
* @author alessio.soldano(a)jboss.com
* @since 8-Dec-2007
Modified:
framework/branches/asoldano/trunk/src/main/java/org/jboss/wsf/framework/management/recording/RecordExtractor.java
===================================================================
---
framework/branches/asoldano/trunk/src/main/java/org/jboss/wsf/framework/management/recording/RecordExtractor.java 2007-12-17
15:50:33 UTC (rev 5338)
+++
framework/branches/asoldano/trunk/src/main/java/org/jboss/wsf/framework/management/recording/RecordExtractor.java 2007-12-18
00:22:52 UTC (rev 5339)
@@ -38,12 +38,39 @@
*/
public interface RecordExtractor
{
+ /**
+ * Gets the records matching the provided filters. Records having the
+ * same group ID are returned together.
+ *
+ * @param filters
+ * @return The matching records as a map GroupID->List<Record>
+ */
public Map<String, List<Record>> getMatchingRecords(RecordFilter[]
filters);
-
+
+ /**
+ * Gets the records with the given operation. Records having the
+ * same group ID are returned together.
+ *
+ * @param namespace
+ * @param localPart
+ * @return The matching records as a map GroupID->List<Record>
+ */
public Map<String, List<Record>> getRecordsByOperation(String namespace,
String localPart);
+ /**
+ * Gets the records with the given client host. Records having the
+ * same group ID are returned together.
+ *
+ * @param clientHost
+ * @return The matching records as a map GroupID->List<Record>
+ */
public Map<String, List<Record>> getRecordsByClientHost(String
clientHost);
+ /**
+ * Gets a set containing the client hosts of the last saved records.
+ *
+ * @return
+ */
public Set<String> getClientHosts();
}
Show replies by date