@Experimental public class LocatorMessageExecutionContext extends MessageExecutionContext
connectionStateProcessor, statistics| Constructor and Description |
|---|
LocatorMessageExecutionContext(org.apache.geode.distributed.Locator locator,
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 LocatorMessageExecutionContext(org.apache.geode.distributed.Locator locator,
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