public final class BinaryLinkClient extends Object
| Constructor | Description |
|---|---|
BinaryLinkClient(String hostName,
int hostPort) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
PrintStream |
getErrStream() |
|
OutputFormat |
getOutputFormat() |
|
PrintStream |
getOutStream() |
|
Options |
handshake() |
|
void |
pushException(BenchmarkException error) |
|
void |
pushResultMetadata(BenchmarkResultMetaData res) |
|
void |
pushResults(IterationResult res) |
|
ActionPlan |
requestPlan() |
public BinaryLinkClient(String hostName, int hostPort) throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic Options handshake() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic ActionPlan requestPlan() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionpublic void pushResults(IterationResult res) throws IOException
IOExceptionpublic void pushException(BenchmarkException error) throws IOException
IOExceptionpublic void pushResultMetadata(BenchmarkResultMetaData res) throws IOException
IOExceptionpublic PrintStream getOutStream()
public PrintStream getErrStream()
public OutputFormat getOutputFormat()
Copyright © 2012-2017 Oracle. All Rights Reserved.