public class TransientRegistry extends Object
Constructor and Description |
---|
TransientRegistry(org.apache.fluo.api.config.SimpleConfiguration appConfig) |
Modifier and Type | Method and Description |
---|---|
void |
addTransientRange(String id,
RowRange range)
This method is expected to be called before Fluo is initialized to register transient ranges.
|
List<RowRange> |
getTransientRanges()
This method is expected to be called after Fluo is initialized to get the ranges that were
registered before initialization.
|
public TransientRegistry(org.apache.fluo.api.config.SimpleConfiguration appConfig)
appConfig
- Fluo application config. Can be obtained from
FluoConfiguration.getAppConfiguration()
before initializing fluo when adding
Transient ranges. After Fluo is initialized, app config can be obtained from
FluoClient.getAppConfiguration()
or
Observer.Context.getAppConfiguration()
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.