@ApplicationScoped public class MetadataCacheManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
MetadataCacheManager() |
MetadataCacheManager(org.commonjava.indy.subsys.infinispan.CacheHandle<MetadataKey,MetadataInfo> metadataCache,
org.commonjava.indy.subsys.infinispan.CacheHandle<MetadataKey,MetadataKey> metadataKeyCache) |
| Modifier and Type | Method and Description |
|---|---|
MetadataInfo |
get(MetadataKey metadataKey) |
Set<String> |
getAllPaths(org.commonjava.indy.model.core.StoreKey key) |
void |
put(MetadataKey metadataKey,
MetadataInfo metadataInfo) |
void |
remove(MetadataKey metadataKey) |
void |
remove(org.commonjava.indy.model.core.StoreKey key,
Set<String> paths) |
void |
remove(org.commonjava.indy.model.core.StoreKey storeKey,
String path) |
void |
removeAll(org.commonjava.indy.model.core.StoreKey key) |
public MetadataCacheManager()
public MetadataCacheManager(org.commonjava.indy.subsys.infinispan.CacheHandle<MetadataKey,MetadataInfo> metadataCache, org.commonjava.indy.subsys.infinispan.CacheHandle<MetadataKey,MetadataKey> metadataKeyCache)
public void put(MetadataKey metadataKey, MetadataInfo metadataInfo)
public MetadataInfo get(MetadataKey metadataKey)
public void remove(org.commonjava.indy.model.core.StoreKey storeKey,
String path)
public void remove(MetadataKey metadataKey)
public void removeAll(org.commonjava.indy.model.core.StoreKey key)
Copyright © 2011-2019-2019. All Rights Reserved.