Interface S3DataStoreStatsMBean
-
public interface S3DataStoreStatsMBean
MBean for JMX statistics pertaining to an S3DataStore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getActiveSyncs()
Obtains the number of records that are in the process of being "synced", meaning they are either scheduled to be copied to S3 or are actively being copied to S3 but the copy of these files has not yet completed.boolean
isFileSynced(String nodePathName)
Determines whether a file-like entity with the given name has been "synced" (completely copied) to S3.
-
-
-
Field Detail
-
TYPE
static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getActiveSyncs
long getActiveSyncs()
Obtains the number of records that are in the process of being "synced", meaning they are either scheduled to be copied to S3 or are actively being copied to S3 but the copy of these files has not yet completed.- Returns:
- number of syncs in progress (active).
-
isFileSynced
boolean isFileSynced(String nodePathName)
Determines whether a file-like entity with the given name has been "synced" (completely copied) to S3.- Parameters:
nodePathName
- - Path to the entity to check. This is the repository node path, not an external file path.- Returns:
- true if the file is synced to S3.
-
-