@ApplicationScoped @Counted(name="storage_operation_count_InfinispanRegistryStorage", description="Total number of storage operations.", tags={"group=STORAGE","metric=storage_operation_count"}, reusable=true) @ConcurrentGauge(name="concurrent_operation_count_InfinispanRegistryStorage", description="Number of concurrent storage operations.", tags={"group=STORAGE","metric=concurrent_operation_count"}, reusable=true) @Timed(name="storage_operation_time_InfinispanRegistryStorage", description="Time for a storage operation to process.", tags={"group=STORAGE","metric=storage_operation_time"}, unit="milliseconds", reusable=true) public class InfinispanRegistryStorage extends AbstractMapRegistryStorage
artifactRules, factory, global, globalRules, storage
Constructor and Description |
---|
InfinispanRegistryStorage() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterInit() |
protected MultiMap<String,String,String> |
createArtifactRulesMap() |
protected Map<Long,TupleId> |
createGlobalMap() |
protected Map<String,String> |
createGlobalRulesMap() |
protected StorageMap |
createStorageMap() |
boolean |
isAlive() |
protected BiFunction<String,Map<Long,Map<String,String>>,Map<Long,Map<String,String>>> |
lookupFn() |
protected long |
nextGlobalId() |
beforeInit, createArtifact, createArtifactRuleAsync, createGlobalRule, createOrUpdateArtifact, deleteArtifact, deleteArtifactRule, deleteArtifactRules, deleteArtifactRulesInternal, deleteArtifactVersion, deleteArtifactVersionMetaData, deleteGlobalRule, deleteGlobalRules, getArtifact, getArtifactIds, getArtifactMetaData, getArtifactMetaData, getArtifactMetaData, getArtifactRule, getArtifactRules, getArtifactVersion, getArtifactVersion, getArtifactVersionMetaData, getArtifactVersions, getContentMap, getGlobalRule, getGlobalRules, init, searchArtifacts, searchVersions, statesFilter, toStoredArtifact, updateArtifact, updateArtifactMetaData, updateArtifactRule, updateArtifactState, updateArtifactState, updateArtifactVersionMetaData, updateGlobalRule
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createArtifactRule, isReady
protected void afterInit()
afterInit
in class AbstractMapRegistryStorage
protected long nextGlobalId()
nextGlobalId
in class AbstractMapRegistryStorage
protected StorageMap createStorageMap()
createStorageMap
in class AbstractMapRegistryStorage
protected Map<Long,TupleId> createGlobalMap()
createGlobalMap
in class AbstractMapRegistryStorage
protected Map<String,String> createGlobalRulesMap()
createGlobalRulesMap
in class AbstractMapRegistryStorage
AbstractMapRegistryStorage.createGlobalRulesMap()
protected MultiMap<String,String,String> createArtifactRulesMap()
createArtifactRulesMap
in class AbstractMapRegistryStorage
AbstractMapRegistryStorage.createArtifactRulesMap()
protected BiFunction<String,Map<Long,Map<String,String>>,Map<Long,Map<String,String>>> lookupFn()
lookupFn
in class AbstractMapRegistryStorage
public boolean isAlive()
Copyright © 2020 Red Hat. All rights reserved.