public class S3DataStoreStats extends Object implements S3DataStoreStatsMBean
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.jackrabbit.oak.spi.state.NodeStore |
nodeStore |
protected SharedS3DataStore |
s3ds |
TYPE| Constructor and Description |
|---|
S3DataStoreStats() |
| Modifier and Type | Method and 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.
|
@Reference protected SharedS3DataStore s3ds
@Reference protected org.apache.jackrabbit.oak.spi.state.NodeStore nodeStore
public long getActiveSyncs()
getActiveSyncs in interface S3DataStoreStatsMBeanpublic boolean isFileSynced(String nodePathName)
isFileSynced in interface S3DataStoreStatsMBeannodePathName - - Path to the entity to check. This is
a node path, not an external file path.Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.