Class TreasureDataSender

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.komamitsu.fluency.ingester.sender.Sender

    public class TreasureDataSender
    extends java.lang.Object
    implements java.io.Closeable, org.komamitsu.fluency.ingester.sender.Sender
    • Constructor Detail

      • TreasureDataSender

        public TreasureDataSender()
    • Method Detail

      • buildClient

        protected com.treasuredata.client.TDClient buildClient()
      • getClient

        public com.treasuredata.client.TDClient getClient()
      • getRetryInternalMs

        public int getRetryInternalMs()
      • getMaxRetryInternalMs

        public int getMaxRetryInternalMs()
      • getRetryFactor

        public float getRetryFactor()
      • getRetryMax

        public int getRetryMax()
      • getWorkBufSize

        public int getWorkBufSize()
      • send

        public void send​(java.lang.String dbAndTableTag,
                         java.nio.ByteBuffer dataBuffer)
                  throws java.io.IOException
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException