Class InMemoryRegistryStorage
- java.lang.Object
-
- io.apicurio.registry.storage.impl.AbstractRegistryStorage
-
- io.apicurio.registry.storage.impl.sql.AbstractSqlRegistryStorage
-
- io.apicurio.registry.storage.impl.sql.InMemoryRegistryStorage
-
- All Implemented Interfaces:
RegistryStorage
@ApplicationScoped @Counted(name="storage_operation_count_InMemoryRegistryStorage", description="Total number of artifactStore operations.", tags={"group=STORAGE","metric=storage_operation_count"}, reusable=true) @ConcurrentGauge(name="concurrent_operation_count_InMemoryRegistryStorage", description="Number of concurrent artifactStore operations.", tags={"group=STORAGE","metric=concurrent_operation_count"}, reusable=true) @Timed(name="storage_operation_time_InMemoryRegistryStorage", description="Time for a artifactStore operation to process.", tags={"group=STORAGE","metric=storage_operation_time"}, unit="milliseconds", reusable=true) public class InMemoryRegistryStorage extends AbstractSqlRegistryStorage
An in-memory SQL implementation of theRegistryStorage
interface.- Author:
- eric.wittmann@gmail.com
-
-
Field Summary
-
Fields inherited from class io.apicurio.registry.storage.impl.sql.AbstractSqlRegistryStorage
jdbi
-
-
Constructor Summary
Constructors Constructor Description InMemoryRegistryStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
storageName()
The storage name-
Methods inherited from class io.apicurio.registry.storage.impl.sql.AbstractSqlRegistryStorage
canonicalizeContent, createArtifact, createArtifact, createArtifactRuleAsync, createArtifactWithMetadata, createArtifactWithMetadata, createArtifactWithMetadata, createGlobalRule, createGroup, createOrUpdateContent, deleteArtifact, deleteArtifactRule, deleteArtifactRules, deleteArtifacts, deleteArtifactVersion, deleteArtifactVersionMetaData, deleteGlobalRule, deleteGlobalRules, deleteGroup, exportData, extractMetaData, getArtifact, getArtifactByContentHash, getArtifactByContentId, getArtifactIds, getArtifactMetaData, getArtifactMetaData, getArtifactRule, getArtifactRules, getArtifactVersion, getArtifactVersion, getArtifactVersionMetaData, getArtifactVersionMetaData, getArtifactVersions, getArtifactVersionsByContentId, getGlobalRule, getGlobalRules, getGroupIds, getGroupMetaData, getLogConfiguration, importArtifactRule, importArtifactVersion, importContent, importData, importEntity, importGlobalRule, importGroup, initialize, isArtifactExists, isContentExists, isGlobalIdExists, listLogConfigurations, nextContentId, nextGlobalId, removeLogConfiguration, resetContentId, resetGlobalId, searchArtifacts, searchVersions, setLogConfiguration, sqlStatements, supportsMultiTenancy, tenantContext, updateArtifact, updateArtifact, updateArtifactMetaData, updateArtifactRule, updateArtifactState, updateArtifactState, updateArtifactVersionMetaData, updateArtifactWithMetadata, updateArtifactWithMetadata, updateArtifactWithMetadata, updateGlobalRule, updateGroupMetaData, withHandle
-
Methods inherited from class io.apicurio.registry.storage.impl.AbstractRegistryStorage
createArtifactRule, isAlive, isReady
-
-
-
-
Method Detail
-
storageName
public String storageName()
Description copied from interface:RegistryStorage
The storage name- Specified by:
storageName
in interfaceRegistryStorage
- Overrides:
storageName
in classAbstractSqlRegistryStorage
- See Also:
RegistryStorage.storageName()
-
-