GigaSpaces XAP 9.7.2 API

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
 RemoteResultReducer getReducer()
          Returns the reducer that will be used in case broadcasting is enabled or not.
 Boolean shouldBroadcast()
          Return true if broadcast should be enabled or not.
 

Method Detail

shouldBroadcast

Boolean shouldBroadcast()
Return true if broadcast should be enabled or not. Return null if should not affect it in any manner.


getReducer

RemoteResultReducer getReducer()
Returns the reducer that will be used in case broadcasting is enabled or not.


GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.