Package org.opensearch.gateway.remote
Class RemoteClusterStateUtils
java.lang.Object
org.opensearch.gateway.remote.RemoteClusterStateUtils
Utility class for Remote Cluster State
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Container class to keep metadata of all uploaded attributes -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
encodeString
(String content) static BlobPath
getClusterMetadataBasePath
(BlobStoreRepository blobStoreRepository, String clusterName, String clusterUUID) static String
getFormattedIndexFileName
(String fileName)
-
Field Details
-
DELIMITER
- See Also:
-
METADATA_NAME_FORMAT
- See Also:
-
CLUSTER_STATE_PATH_TOKEN
- See Also:
-
GLOBAL_METADATA_PATH_TOKEN
- See Also:
-
CLUSTER_STATE_EPHEMERAL_PATH_TOKEN
- See Also:
-
GLOBAL_METADATA_CURRENT_CODEC_VERSION
public static final int GLOBAL_METADATA_CURRENT_CODEC_VERSION- See Also:
-
METADATA_FILE_PREFIX
- See Also:
-
CUSTOM_DELIMITER
- See Also:
-
PATH_DELIMITER
- See Also:
-
METADATA_NAME_PLAIN_FORMAT
- See Also:
-
FORMAT_PARAMS
public static final org.opensearch.core.xcontent.ToXContent.Params FORMAT_PARAMS
-
-
Constructor Details
-
RemoteClusterStateUtils
public RemoteClusterStateUtils()
-
-
Method Details
-
getClusterMetadataBasePath
public static BlobPath getClusterMetadataBasePath(BlobStoreRepository blobStoreRepository, String clusterName, String clusterUUID) -
encodeString
-
getFormattedIndexFileName
-