@InterfaceAudience.Private
public interface CoprocessorEnvironment<C extends Coprocessor>
Modifier and Type | Method and Description |
---|---|
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()
After a coprocessor has been loaded in an encapsulation of an environment, CoprocessorHost
calls this function to initialize the environment.
|
int getVersion()
String getHBaseVersion()
C getInstance()
int getPriority()
int getLoadSequence()
org.apache.hadoop.conf.Configuration getConfiguration()
ClassLoader getClassLoader()
void startup() throws IOException
IOException
void shutdown()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.