@InterfaceAudience.Private public class BaseEnvironment<C extends Coprocessor> extends Object implements CoprocessorEnvironment<C>
| 构造器和说明 |
|---|
BaseEnvironment(C impl,
int priority,
int seq,
org.apache.hadoop.conf.Configuration conf)
Constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
ClassLoader |
getClassLoader() |
org.apache.hadoop.conf.Configuration |
getConfiguration() |
String |
getHBaseVersion() |
C |
getInstance() |
int |
getLoadSequence() |
int |
getPriority() |
int |
getVersion() |
void |
shutdown()
Clean up the environment
|
void |
startup()
Initialize the environment
|
public C extends Coprocessor impl
protected int priority
public BaseEnvironment(C impl, int priority, int seq, org.apache.hadoop.conf.Configuration conf)
impl - the coprocessor instancepriority - chaining prioritypublic void startup()
throws IOException
IOExceptionpublic void shutdown()
public C getInstance()
getInstance 在接口中 CoprocessorEnvironment<C extends Coprocessor>public ClassLoader getClassLoader()
getClassLoader 在接口中 CoprocessorEnvironment<C extends Coprocessor>public int getPriority()
getPriority 在接口中 CoprocessorEnvironment<C extends Coprocessor>public int getLoadSequence()
getLoadSequence 在接口中 CoprocessorEnvironment<C extends Coprocessor>public int getVersion()
getVersion 在接口中 CoprocessorEnvironment<C extends Coprocessor>public String getHBaseVersion()
getHBaseVersion 在接口中 CoprocessorEnvironment<C extends Coprocessor>public org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration 在接口中 CoprocessorEnvironment<C extends Coprocessor>Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.