Class OzoneClientCache

java.lang.Object
org.apache.hadoop.ozone.s3.OzoneClientCache

@Singleton public class OzoneClientCache extends Object
Cached ozone client for s3 requests.
  • Method Details

    • initialize

      @PostConstruct public void initialize() throws IOException
      Throws:
      IOException
    • getClient

      public org.apache.hadoop.ozone.client.OzoneClient getClient()
    • createClient

      public static org.apache.hadoop.ozone.client.OzoneClient createClient(org.apache.hadoop.hdds.conf.OzoneConfiguration ozoneConfiguration) throws IOException
      Throws:
      IOException
    • cleanup

      @PreDestroy public void cleanup()