Package org.openspaces.remoting
Interface BroadcastIndicator
- All Known Subinterfaces:
LazyLoadingScript,Script,TypedScript
- All Known Implementing Classes:
ResourceLazyLoadingScript,StaticResourceScript,StaticScript
public interface BroadcastIndicator
An interface optionally implemented by the first parameter in a remote invocation to indicate if
broadcasting is enabled or not.
- Author:
- kimchy
-
Method Summary
Modifier and TypeMethodDescriptionReturns the reducer that will be used in case broadcasting is enabled or not.Returntrueif broadcast should be enabled or not.
-
Method Details
-
shouldBroadcast
Boolean shouldBroadcast()Returntrueif broadcast should be enabled or not. Returnnullif should not affect it in any manner. -
getReducer
RemoteResultReducer getReducer()Returns the reducer that will be used in case broadcasting is enabled or not.
-