Enum Constant and Description |
---|
INSTANCE
This is the singleton instance.
|
Modifier and Type | Method and Description |
---|---|
Pipe |
acquirePipe(java.lang.String pipeName)
Returns a connection with name
pipeName . |
static Broker |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Broker[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Broker INSTANCE
public static Broker[] values()
for (Broker c : Broker.values()) System.out.println(c);
public static Broker valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic Pipe acquirePipe(java.lang.String pipeName) throws java.lang.IllegalArgumentException
pipeName
. If a connection with this
name does not exist prior to the call, it is created.pipeName
- The name of the pipe.java.lang.IllegalArgumentException
- If the pipe name is null or empty.Copyright 2017 Kieker Project, http://kieker-monitoring.net