public interface ServerCacheFactory
Modifier and Type | Method and Description |
---|---|
ServerCache |
createCache(ServerCacheConfig config)
Create the cache for the given type with options.
|
ServerCacheNotify |
createCacheNotify(ServerCacheNotify listener)
Return a ServerCacheNotify that we will send ServerCacheNotification events to.
|
default void |
visit(MetricVisitor visitor)
Visit the metrics for the cache.
|
default void visit(MetricVisitor visitor)
ServerCache createCache(ServerCacheConfig config)
ServerCacheNotify createCacheNotify(ServerCacheNotify listener)
This is used if a ServerCacheNotifyPlugin is not supplied.
listener
- The listener that should be used to process the notification events.Copyright © 2019. All rights reserved.