public class PluginEndpoint extends Object implements IsolatedRpcEndpoint, Logging
| Constructor and Description |
|---|
PluginEndpoint(scala.collection.immutable.Map<String,DriverPlugin> plugins,
org.apache.spark.rpc.RpcEnv rpcEnv) |
| Modifier and Type | Method and Description |
|---|---|
scala.PartialFunction<Object,scala.runtime.BoxedUnit> |
receive()
Process messages from
RpcEndpointRef.send or RpcCallContext.reply. |
scala.PartialFunction<Object,scala.runtime.BoxedUnit> |
receiveAndReply(RpcCallContext context)
Process messages from
RpcEndpointRef.ask. |
org.apache.spark.rpc.RpcEnv |
rpcEnv()
The
RpcEnv that this RpcEndpoint is registered to. |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitthreadCountonConnected, onDisconnected, onError, onNetworkError, onStart, onStop, self, stopinitializeForcefully, initializeLogging, initializeLogIfNecessary, initializeLogIfNecessary, isTraceEnabled, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarningpublic PluginEndpoint(scala.collection.immutable.Map<String,DriverPlugin> plugins, org.apache.spark.rpc.RpcEnv rpcEnv)
public scala.PartialFunction<Object,scala.runtime.BoxedUnit> receive()
RpcEndpointRpcEndpointRef.send or RpcCallContext.reply. If receiving a
unmatched message, SparkException will be thrown and sent to onError.receive in interface RpcEndpointpublic scala.PartialFunction<Object,scala.runtime.BoxedUnit> receiveAndReply(RpcCallContext context)
RpcEndpointRpcEndpointRef.ask. If receiving a unmatched message,
SparkException will be thrown and sent to onError.receiveAndReply in interface RpcEndpointcontext - (undocumented)public org.apache.spark.rpc.RpcEnv rpcEnv()
RpcEndpointRpcEnv that this RpcEndpoint is registered to.rpcEnv in interface RpcEndpoint