com.jrockit.memleak
Class MemLeakFactory

java.lang.Object
  extended by com.jrockit.memleak.MemLeakFactory

public class MemLeakFactory
extends java.lang.Object

Preliminary factory to enable multiple IMemLeak implementations.

Author:
Markus Persson

Field Summary
static int[] SUPPORTED_PROTOCOL_VERSIONS
          MLP (protocol) versions supported by this factory.
 
Constructor Summary
MemLeakFactory()
           
 
Method Summary
static IMemLeak createMemLeak(java.lang.String host, int port)
          Create a IMemLeak using the MemLeak Protocol (MLP).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUPPORTED_PROTOCOL_VERSIONS

public static final int[] SUPPORTED_PROTOCOL_VERSIONS
MLP (protocol) versions supported by this factory. In order from most preferred to least preferred.

Constructor Detail

MemLeakFactory

public MemLeakFactory()
Method Detail

createMemLeak

public static IMemLeak createMemLeak(java.lang.String host,
                                     int port)
                              throws java.io.IOException
Create a IMemLeak using the MemLeak Protocol (MLP).

Parameters:
host -
port -
Returns:
A IMemLeak
Throws:
java.io.IOException


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