Class ConsolidatedDataStoreCacheStats
java.lang.Object
org.apache.jackrabbit.oak.plugins.blob.ConsolidatedDataStoreCacheStats
- All Implemented Interfaces:
ConsolidatedDataStoreCacheStatsMBean
@Deprecated(since="2024-09-23")
public class ConsolidatedDataStoreCacheStats
extends Object
implements ConsolidatedDataStoreCacheStatsMBean
Deprecated.
The Jackrabbit Oak Blob Plugins library is designed for Oak-internal use only and thus deprecated. It will not be part of the AEM SDK after April 2025.
Stats for caching data store.
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.Deprecated.Fields inherited from interface org.apache.jackrabbit.oak.api.jmx.ConsolidatedDataStoreCacheStatsMBean
TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.boolean
isFileSynced
(String nodePathName) Deprecated.Determines whether a file-like entity with the given name has been "synced" (completely copied) to S3.
-
Field Details
-
cachingDataStore
Deprecated. -
nodeStore
Deprecated.
-
-
Constructor Details
-
ConsolidatedDataStoreCacheStats
public ConsolidatedDataStoreCacheStats()Deprecated.
-
-
Method Details
-
getCacheStats
Deprecated.- Specified by:
getCacheStats
in interfaceConsolidatedDataStoreCacheStatsMBean
-
isFileSynced
Deprecated.Determines whether a file-like entity with the given name has been "synced" (completely copied) to S3. Determination of "synced": - A nodeName of null or "" is always "not synced". - A nodeName that does not map to a valid node is always "not synced". - If the node for this nodeName does not have a binary property, this node is always "not synced" since such a node would never be copied to S3. - If the node for this nodeName is not in the nodeStore, this node is always "not synced". - Otherwise, the state is "synced" if the corresponding blob is completely stored in S3.- Specified by:
isFileSynced
in interfaceConsolidatedDataStoreCacheStatsMBean
- Parameters:
nodePathName
- - Path to the entity to check. This is a node path, not an external file path.- Returns:
- true if the file is synced to S3.
-