com.jrockit.mc.rjmx.flr.internal
Class FlightRecorderCommunicationHelper

java.lang.Object
  extended by com.jrockit.mc.rjmx.flr.internal.FlightRecorderCommunicationHelper

public final class FlightRecorderCommunicationHelper
extends java.lang.Object

Helper class for facilitating communication with the FlightRecorderMBean. This class only works with R28.

Author:
Marcus Hirt

Field Summary
static javax.management.ObjectName FLR_MBEAN_OBJECT_NAME
           
 
Constructor Summary
FlightRecorderCommunicationHelper(IConnectionHandle handle)
           
 
Method Summary
 void closeRecording(IRecordingDescriptor descriptor)
           
 java.lang.Object getAttribute(AttributeDescriptor descriptor)
           
 IRecordingDescriptor[] getAvailableRecordings()
           
 IConnectionHandle getConnectionHandle()
           
 long getServerTimeStamp()
           
 java.lang.Object invokeOperation(java.lang.String name, java.lang.Object[] parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FLR_MBEAN_OBJECT_NAME

public static final javax.management.ObjectName FLR_MBEAN_OBJECT_NAME
Constructor Detail

FlightRecorderCommunicationHelper

public FlightRecorderCommunicationHelper(IConnectionHandle handle)
Method Detail

getConnectionHandle

public IConnectionHandle getConnectionHandle()

getAvailableRecordings

public IRecordingDescriptor[] getAvailableRecordings()
                                              throws FlightRecorderException
Throws:
FlightRecorderException

getAttribute

public java.lang.Object getAttribute(AttributeDescriptor descriptor)
                              throws FlightRecorderException
Throws:
FlightRecorderException

invokeOperation

public java.lang.Object invokeOperation(java.lang.String name,
                                        java.lang.Object[] parameters)
                                 throws java.io.IOException
Throws:
java.io.IOException

closeRecording

public void closeRecording(IRecordingDescriptor descriptor)
                    throws FlightRecorderException
Throws:
FlightRecorderException

getServerTimeStamp

public long getServerTimeStamp()


Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.