org.apache.blur.thirdparty.thrift_0_9_0.async
Class TAsyncClient
java.lang.Object
org.apache.blur.thirdparty.thrift_0_9_0.async.TAsyncClient
- Direct Known Subclasses:
- Blur.AsyncClient
public abstract class TAsyncClient
- extends Object
TAsyncClient
public TAsyncClient(TProtocolFactory protocolFactory,
TAsyncClientManager manager,
TNonblockingTransport transport)
TAsyncClient
public TAsyncClient(TProtocolFactory protocolFactory,
TAsyncClientManager manager,
TNonblockingTransport transport,
long timeout)
getProtocolFactory
public TProtocolFactory getProtocolFactory()
getTimeout
public long getTimeout()
hasTimeout
public boolean hasTimeout()
setTimeout
public void setTimeout(long timeout)
hasError
public boolean hasError()
- Is the client in an error state?
- Returns:
- If client in an error state?
getError
public Exception getError()
- Get the client's error - returns null if no error
- Returns:
- Get the client's error.
returns null if no error
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.