Package org.apache.hadoop.ozone.s3
Class OzoneClientCache
java.lang.Object
org.apache.hadoop.ozone.s3.OzoneClientCache
Cached ozone client for s3 requests.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcleanup()static org.apache.hadoop.ozone.client.OzoneClientcreateClient(org.apache.hadoop.hdds.conf.OzoneConfiguration ozoneConfiguration) org.apache.hadoop.ozone.client.OzoneClientvoid
-
Method Details
-
initialize
- 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
-