Class TreasureDataSender

java.lang.Object
org.komamitsu.fluency.treasuredata.ingester.sender.TreasureDataSender
All Implemented Interfaces:
Closeable, AutoCloseable, org.komamitsu.fluency.ingester.sender.Sender

public class TreasureDataSender extends Object implements Closeable, org.komamitsu.fluency.ingester.sender.Sender
  • Constructor Details

    • TreasureDataSender

      public TreasureDataSender()
    • TreasureDataSender

      public TreasureDataSender(TreasureDataSender.Config config)
  • Method Details

    • 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(String dbAndTableTag, ByteBuffer dataBuffer) throws IOException
      Throws:
      IOException
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException