@Experimental public class ServerMessageExecutionContext extends MessageExecutionContext
connectionStateProcessor, statistics| Constructor and Description |
|---|
ServerMessageExecutionContext(org.apache.geode.cache.Cache cache,
ProtocolClientStatistics statistics,
ConnectionStateProcessor initialConnectionStateProcessor) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.geode.cache.Cache |
getCache()
Returns the cache associated with this execution
|
org.apache.geode.distributed.Locator |
getLocator()
Returns the locator associated with this execution
|
getConnectionStateProcessor, getStatistics, setConnectionStateProcessorpublic ServerMessageExecutionContext(org.apache.geode.cache.Cache cache,
ProtocolClientStatistics statistics,
ConnectionStateProcessor initialConnectionStateProcessor)
public org.apache.geode.cache.Cache getCache()
throws org.apache.geode.internal.exception.InvalidExecutionContextException
getCache in class MessageExecutionContextorg.apache.geode.internal.exception.InvalidExecutionContextException - if there is no cache availablepublic org.apache.geode.distributed.Locator getLocator()
throws org.apache.geode.internal.exception.InvalidExecutionContextException
getLocator in class MessageExecutionContextorg.apache.geode.internal.exception.InvalidExecutionContextException - if there is no locator available