public class S3ObjectMx extends java.lang.Object implements S3ObjectMxMBean
Modifier and Type | Field and Description |
---|---|
static boolean |
isEnabled |
Modifier and Type | Method and Description |
---|---|
static void |
copy(java.lang.String bucketName,
java.lang.String key) |
static void |
delete(java.lang.String bucketName,
java.lang.String key) |
static void |
get(java.lang.String bucketName,
java.lang.String key) |
long |
getTotalCopyRequests() |
long |
getTotalDeleteRequests() |
long |
getTotalGetRequests() |
long |
getTotalHeadRequests() |
long |
getTotalPutRequests() |
long |
getTotalRequests() |
static void |
head(java.lang.String bucketName,
java.lang.String key) |
static void |
increment(int type,
java.lang.String bucketName,
java.lang.String key) |
static void |
put(java.lang.String bucketName,
java.lang.String key) |
static void |
registerMBeans(java.lang.String bucketName,
StorageObject[] objects) |
public long getTotalRequests()
getTotalRequests
in interface S3ObjectMxMBean
public long getTotalGetRequests()
getTotalGetRequests
in interface S3ObjectMxMBean
public long getTotalHeadRequests()
getTotalHeadRequests
in interface S3ObjectMxMBean
public long getTotalPutRequests()
getTotalPutRequests
in interface S3ObjectMxMBean
public long getTotalDeleteRequests()
getTotalDeleteRequests
in interface S3ObjectMxMBean
public long getTotalCopyRequests()
getTotalCopyRequests
in interface S3ObjectMxMBean
public static void registerMBeans(java.lang.String bucketName, StorageObject[] objects)
public static void increment(int type, java.lang.String bucketName, java.lang.String key)
public static void get(java.lang.String bucketName, java.lang.String key)
public static void head(java.lang.String bucketName, java.lang.String key)
public static void put(java.lang.String bucketName, java.lang.String key)
public static void delete(java.lang.String bucketName, java.lang.String key)
public static void copy(java.lang.String bucketName, java.lang.String key)