public static class SegmentCache.SegmentCacheInjector extends Object
SegmentCache.SegmentCacheInjector
is a means to inject
SegmentCache
instances directly into Mondrian,
instead of passing a class name. This is particularly
useful in plugin environments, like the Pentaho Platform.
Mondrian can't always get access to the child class loader,
therefore passing an instance is the only way.
It is recommended to use the Java Services API when possible
instead of the injector. See SegmentCache
.Constructor and Description |
---|
SegmentCacheInjector() |
Modifier and Type | Method and Description |
---|---|
static void |
addCache(SegmentCache cache)
Adds a
SegmentCache instance for Mondrian's use. |
static List<SegmentCache> |
getCaches() |
public static void addCache(SegmentCache cache)
SegmentCache
instance for Mondrian's use.public static List<SegmentCache> getCaches()
Copyright © 2020 Hitachi Vantara. All rights reserved.