Class AbstractRegistryStorage
- java.lang.Object
-
- io.apicurio.registry.storage.impl.AbstractRegistryStorage
-
- All Implemented Interfaces:
RegistryStorage
- Direct Known Subclasses:
AbstractSqlRegistryStorage
public abstract class AbstractRegistryStorage extends Object implements RegistryStorage
- Author:
- Ales Justin
-
-
Constructor Summary
Constructors Constructor Description AbstractRegistryStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisAlive()Is the artifactStore alive?booleanisReady()Is the artifactStore ready?-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.apicurio.registry.storage.RegistryStorage
consumeDownload, countArtifacts, countArtifactVersions, countTotalArtifactVersions, createArtifact, createArtifactRule, createArtifactWithMetadata, createDownload, createGlobalRule, createGroup, createRoleMapping, deleteAllExpiredDownloads, deleteAllUserData, deleteArtifact, deleteArtifactRule, deleteArtifactRules, deleteArtifacts, deleteArtifactVersion, deleteArtifactVersionMetaData, deleteGlobalRule, deleteGlobalRules, deleteGroup, deleteRoleMapping, exportData, getArtifact, getArtifactByContentHash, getArtifactByContentId, getArtifactIds, getArtifactMetaData, getArtifactMetaData, getArtifactRule, getArtifactRules, getArtifactVersion, getArtifactVersion, getArtifactVersionMetaData, getArtifactVersionMetaData, getArtifactVersions, getArtifactVersionsByContentId, getGlobalRule, getGlobalRules, getGroupIds, getGroupMetaData, getLogConfiguration, getRoleForPrincipal, getRoleMapping, getRoleMappings, importData, listLogConfigurations, removeLogConfiguration, searchArtifacts, searchVersions, setLogConfiguration, storageName, supportsMultiTenancy, updateArtifact, updateArtifactMetaData, updateArtifactRule, updateArtifactState, updateArtifactState, updateArtifactVersionMetaData, updateArtifactWithMetadata, updateGlobalRule, updateGroupMetaData, updateRoleMapping
-
-
-
-
Method Detail
-
isReady
public boolean isReady()
Description copied from interface:RegistryStorageIs the artifactStore ready?By default we check if it can access list of global rules.
- Specified by:
isReadyin interfaceRegistryStorage- Returns:
- true if yes, false if no
-
isAlive
public boolean isAlive()
Description copied from interface:RegistryStorageIs the artifactStore alive?By default it's true.
- Specified by:
isAlivein interfaceRegistryStorage- Returns:
- true if yes, false if no
-
-