Class Scribe.AsyncClient

    • Field Summary

      • Fields inherited from class org.apache.thrift.async.TAsyncClient

        ___currentMethod, ___manager, ___protocolFactory, ___transport
    • Constructor Summary

      Constructors 
      Constructor Description
      AsyncClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.async.TAsyncClientManager clientManager, org.apache.thrift.transport.TNonblockingTransport transport)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void Log​(java.util.List<LogEntry> messages, org.apache.thrift.async.AsyncMethodCallback<ResultCode> resultHandler)  
      • Methods inherited from class org.apache.thrift.async.TAsyncClient

        checkReady, getError, getProtocolFactory, getTimeout, hasError, hasTimeout, onComplete, onError, setTimeout
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AsyncClient

        public AsyncClient​(org.apache.thrift.protocol.TProtocolFactory protocolFactory,
                           org.apache.thrift.async.TAsyncClientManager clientManager,
                           org.apache.thrift.transport.TNonblockingTransport transport)
    • Method Detail

      • Log

        public void Log​(java.util.List<LogEntry> messages,
                        org.apache.thrift.async.AsyncMethodCallback<ResultCode> resultHandler)
                 throws org.apache.thrift.TException
        Specified by:
        Log in interface Scribe.AsyncIface
        Throws:
        org.apache.thrift.TException