static class RegionCoprocessorHost.RegionEnvironment extends CoprocessorHost.Environment implements RegionCoprocessorEnvironment
| Modifier and Type | Field and Description |
|---|---|
private Region |
region |
private RegionServerServices |
rsServices |
(package private) ConcurrentMap<String,Object> |
sharedData |
private boolean |
useLegacyPost |
private boolean |
useLegacyPre |
impl, openTables, priority| Constructor and Description |
|---|
RegionCoprocessorHost.RegionEnvironment(Coprocessor impl,
int priority,
int seq,
org.apache.hadoop.conf.Configuration conf,
Region region,
RegionServerServices services,
ConcurrentMap<String,Object> sharedData)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Region |
getRegion() |
HRegionInfo |
getRegionInfo() |
RegionServerServices |
getRegionServerServices() |
ConcurrentMap<String,Object> |
getSharedData() |
void |
shutdown()
Clean up the environment
|
getClassLoader, getConfiguration, getHBaseVersion, getInstance, getLoadSequence, getPriority, getTable, getTable, getVersion, startupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassLoader, getConfiguration, getHBaseVersion, getInstance, getLoadSequence, getPriority, getTable, getTable, getVersionprivate Region region
private RegionServerServices rsServices
ConcurrentMap<String,Object> sharedData
private final boolean useLegacyPre
private final boolean useLegacyPost
public RegionCoprocessorHost.RegionEnvironment(Coprocessor impl, int priority, int seq, org.apache.hadoop.conf.Configuration conf, Region region, RegionServerServices services, ConcurrentMap<String,Object> sharedData)
impl - the coprocessor instancepriority - chaining prioritypublic Region getRegion()
getRegion in interface RegionCoprocessorEnvironmentpublic RegionServerServices getRegionServerServices()
getRegionServerServices in interface RegionCoprocessorEnvironmentpublic void shutdown()
CoprocessorHost.Environmentshutdown in class CoprocessorHost.Environmentpublic ConcurrentMap<String,Object> getSharedData()
getSharedData in interface RegionCoprocessorEnvironmentpublic HRegionInfo getRegionInfo()
getRegionInfo in interface RegionCoprocessorEnvironmentCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.