public class ClientPool extends Object
Constructor and Description |
---|
ClientPool() |
Modifier and Type | Method and Description |
---|---|
static void |
addClient(Closeable client)
Add a ReceiveClient to the ClientPool.
|
static void |
clearClient()
Clear all the clients created by either Publish or Subscribe sampler.
|
static Object |
get(Object key) |
static void |
put(Object key,
Object client) |
public static void addClient(Closeable client)
client
- the ReceiveClient to addpublic static void clearClient()
Copyright © 1998-2016 Apache Software Foundation. All Rights Reserved.