Package com.gigaspaces.client.localview
Interface LocalViewMonitor
- All Known Implementing Classes:
LocalViewContainer
public interface LocalViewMonitor
Provides a simple interface to the local view gigaspace.
Operations revolve around the connection of the local view to the cluster
- Since:
- 12.3
- Author:
- Alon Shoham
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds aLocalViewConnectionStateListenerto the local view.returns the currentLocalViewConnectionStatevoidRemoves aLocalViewConnectionStateListenerfrom the local view
-
Method Details
-
getConnectionState
LocalViewConnectionState getConnectionState()returns the currentLocalViewConnectionState- Returns:
- the current connection state
-
addConnectionStateListener
Adds aLocalViewConnectionStateListenerto the local view.- Parameters:
listener-
-
removeConnectionStateListener
Removes aLocalViewConnectionStateListenerfrom the local view- Parameters:
listener-
-