Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * JBoss, Home of Professional Open Source.
   * Copyright 2006, Red Hat Middleware LLC, and individual contributors
   * as indicated by the @author tags. See the copyright.txt file in the
   * distribution for a full listing of individual contributors.
   *
   * This is free software; you can redistribute it and/or modify it
   * under the terms of the GNU Lesser General Public License as
   * published by the Free Software Foundation; either version 2.1 of
  * the License, or (at your option) any later version.
  *
  * This software is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this software; if not, write to the Free
  * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  */
 package org.jboss.ws.common.monitoring;
 
 import java.util.List;
 import java.util.Map;
 import java.util.Set;
 
The MemoryBufferRecorder's MBean view

Author(s):
alessio.soldano@jboss.com
Since:
18-Dec-2007
 
 {
   
Gets the records matching the provided filters. Records having the same group ID are returned together.

Parameters:
filters
Returns:
The matching records as a map GroupID->List<Record>
 
    public Map<StringList<Record>> getMatchingRecords(RecordFilter[] filters);

   
Gets the records with the given operation. Records having the same group ID are returned together.

Parameters:
namespace
localPart
Returns:
The matching records as a map GroupID->List<Record>
 
    public Map<StringList<Record>> getRecordsByOperation(String namespaceString localPart);

   
Gets the records with the given client host. Records having the same group ID are returned together.

Parameters:
clientHost
Returns:
The matching records as a map GroupID->List<Record>
 
    public Map<StringList<Record>> getRecordsByClientHost(String clientHost);

   
Gets a set containing the client hosts of the last saved records.

Returns:
 
    public Set<StringgetClientHosts();

   
Gets the current buffer max size (i.e. the number of record groups stored at the same time)

Returns:
 
    public int getMaxSize();
 
    public void setMaxSize(int maxSize);

   
Gets the buffer's current size

Returns:
 
    public int getSize();
   
   
Shows all the records as a HTML table

Parameters:
groupRecords whether the records should be grouped using the group ID
showDetails whether to show headers and envelopes
Returns:
 
    public String getRecordsAsHTMLTable(boolean groupRecordsboolean showDetails);
   
   
Shows the records with the given client host as a HTML table.

Parameters:
groupRecords
showDetails
clientHost
Returns:
   public String getRecordsByClientHostAsHTMLTable(boolean groupRecordsboolean showDetailsString clientHost);
   
   
Shows the records with the given operation as a HTML table.

Parameters:
groupRecords
showDetails
namespace
localPart
Returns:
   public String getRecordsByOperationAsHTMLTable(boolean groupRecordsboolean showDetailsString namespaceString localPart);
New to GrepCode? Check out our FAQ X