Class QnClient

java.lang.Object
cn.sinozg.applet.oss.clients.QnClient
All Implemented Interfaces:
Closeable, AutoCloseable

public class QnClient extends Object implements Closeable
七牛 客户度
Since:
2025-07-22 23:28
Author:
xieyubin
  • Field Details

    • oss

      private final OssValue oss
    • auth

      private volatile com.qiniu.util.Auth auth
    • client

      private volatile com.qiniu.http.Client client
    • configuration

      private volatile com.qiniu.storage.Configuration configuration
    • bucketManager

      private volatile com.qiniu.storage.BucketManager bucketManager
    • uploadManager

      private volatile com.qiniu.storage.UploadManager uploadManager
    • lock

      private final Object lock
    • closed

      private volatile boolean closed
  • Constructor Details

    • QnClient

      public QnClient(OssValue oss)
  • Method Details

    • getAuth

      public com.qiniu.util.Auth getAuth()
    • getClient

      public com.qiniu.http.Client getClient()
    • getConfiguration

      public com.qiniu.storage.Configuration getConfiguration()
    • getBucketManager

      public com.qiniu.storage.BucketManager getBucketManager()
    • getUploadManager

      public com.qiniu.storage.UploadManager getUploadManager()
    • close

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