Skip navigation links
A C E F G I L O P R T V 

A

AbstractRegistry<E,C> - Class in cn.sliew.milky.registry
 
AbstractRegistry() - Constructor for class cn.sliew.milky.registry.AbstractRegistry
 
addConfiguration(String, C) - Method in class cn.sliew.milky.registry.AbstractRegistry
 
addConfiguration(String, C) - Method in interface cn.sliew.milky.registry.Registry
Adds a configuration to the registry.

C

cn.sliew.milky.registry - package cn.sliew.milky.registry
 
computeIfAbsent(String, Supplier<E>) - Method in class cn.sliew.milky.registry.AbstractRegistry
 
computeIfAbsent(String, Function<? super String, ? extends E>) - Method in class cn.sliew.milky.registry.InMemoryRegistryStore
 
computeIfAbsent(String, Function<? super String, ? extends E>) - Method in interface cn.sliew.milky.registry.RegistryStore
 
configurations - Variable in class cn.sliew.milky.registry.AbstractRegistry
 

E

entries - Variable in class cn.sliew.milky.registry.AbstractRegistry
 
EntryAddedEvent<E> - Class in cn.sliew.milky.registry
 
EntryRemovedEvent<E> - Class in cn.sliew.milky.registry
 
EntryReplacedEvent<E> - Class in cn.sliew.milky.registry
 
exist(String) - Method in class cn.sliew.milky.registry.AbstractRegistry
 
exist(String) - Method in interface cn.sliew.milky.registry.Registry
Return named entry whether exists in the Registry.
exists(String) - Method in class cn.sliew.milky.registry.InMemoryRegistryStore
 
exists(String) - Method in interface cn.sliew.milky.registry.RegistryStore
 

F

find(String) - Method in class cn.sliew.milky.registry.AbstractRegistry
 
find(String) - Method in class cn.sliew.milky.registry.InMemoryRegistryStore
 
find(String) - Method in interface cn.sliew.milky.registry.Registry
Find a named entry in the Registry
find(String) - Method in interface cn.sliew.milky.registry.RegistryStore
 

G

getAddedEntry() - Method in class cn.sliew.milky.registry.EntryAddedEvent
 
getConfiguration(String) - Method in class cn.sliew.milky.registry.AbstractRegistry
 
getConfiguration(String) - Method in interface cn.sliew.milky.registry.Registry
Get a configuration by name
getDefaultConfig() - Method in interface cn.sliew.milky.registry.Registry
Get the default configuration
getEventTime() - Method in interface cn.sliew.milky.registry.RegistryEvent
Returns the creation time of Registry event.
getEventType() - Method in class cn.sliew.milky.registry.EntryAddedEvent
 
getEventType() - Method in class cn.sliew.milky.registry.EntryRemovedEvent
 
getEventType() - Method in class cn.sliew.milky.registry.EntryReplacedEvent
 
getEventType() - Method in interface cn.sliew.milky.registry.RegistryEvent
Returns the type of the Registry event.
getNewEntry() - Method in class cn.sliew.milky.registry.EntryReplacedEvent
Returns the new entry.
getOldEntry() - Method in class cn.sliew.milky.registry.EntryReplacedEvent
Returns the old entry.
getRemovedEntry() - Method in class cn.sliew.milky.registry.EntryRemovedEvent
Returns the removed entry.

I

InMemoryRegistryStore<E> - Class in cn.sliew.milky.registry
Default Implementation Of RegistryStore using ConcurrentHashMap
InMemoryRegistryStore() - Constructor for class cn.sliew.milky.registry.InMemoryRegistryStore
 
iterator() - Method in class cn.sliew.milky.registry.AbstractRegistry
 

L

listeners - Variable in class cn.sliew.milky.registry.AbstractRegistry
 

O

onAdded(EntryAddedEvent<E>) - Method in interface cn.sliew.milky.registry.RegistryListener
 
onRemoved(EntryRemovedEvent<E>) - Method in interface cn.sliew.milky.registry.RegistryListener
 
onReplaced(EntryReplacedEvent<E>) - Method in interface cn.sliew.milky.registry.RegistryListener
 

P

putIfAbsent(String, E) - Method in class cn.sliew.milky.registry.InMemoryRegistryStore
 
putIfAbsent(String, E) - Method in interface cn.sliew.milky.registry.RegistryStore
 

R

registerListener(RegistryListener<E>) - Method in class cn.sliew.milky.registry.AbstractRegistry
 
registerListener(RegistryListener<E>) - Method in interface cn.sliew.milky.registry.Registry
Register entry event such as add, remove or replace
Registry<E,C> - Interface in cn.sliew.milky.registry
registry to be used by registries for common functionality.
RegistryEvent - Interface in cn.sliew.milky.registry
 
RegistryEvent.Type - Enum in cn.sliew.milky.registry
Event types which are created by a CircuitBreaker.
RegistryListener<E> - Interface in cn.sliew.milky.registry
An RegistryEvent listener can be used to be aware of registry event.
RegistryStore<E> - Interface in cn.sliew.milky.registry
 
remove(String) - Method in class cn.sliew.milky.registry.AbstractRegistry
 
remove(String) - Method in class cn.sliew.milky.registry.InMemoryRegistryStore
 
remove(String) - Method in interface cn.sliew.milky.registry.Registry
Remove an entry from the Registry
remove(String) - Method in interface cn.sliew.milky.registry.RegistryStore
 
replace(String, E) - Method in class cn.sliew.milky.registry.AbstractRegistry
 
replace(String, E) - Method in class cn.sliew.milky.registry.InMemoryRegistryStore
 
replace(String, E) - Method in interface cn.sliew.milky.registry.Registry
Replace an existing entry in the Registry by a new one.
replace(String, E) - Method in interface cn.sliew.milky.registry.RegistryStore
 

T

toString() - Method in class cn.sliew.milky.registry.EntryAddedEvent
 
toString() - Method in class cn.sliew.milky.registry.EntryRemovedEvent
 
toString() - Method in class cn.sliew.milky.registry.EntryReplacedEvent
 

V

valueOf(String) - Static method in enum cn.sliew.milky.registry.RegistryEvent.Type
Returns the enum constant of this type with the specified name.
values() - Method in class cn.sliew.milky.registry.InMemoryRegistryStore
 
values() - Static method in enum cn.sliew.milky.registry.RegistryEvent.Type
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in interface cn.sliew.milky.registry.RegistryStore
 
A C E F G I L O P R T V 
Skip navigation links

Copyright © 2022. All rights reserved.