Package se.sics.kompics.simulator.util
Interface GlobalView
- All Known Implementing Classes:
GlobalViewImpl
public interface GlobalView
- Author:
- Alex Ormenisan <[email protected]>
-
Method Summary
Modifier and Type Method Description Map<Identifier,se.sics.kompics.network.Address>
getAliveNodes()
Map<Identifier,se.sics.kompics.network.Address>
getDeadNodes()
<T> T
getValue(String key, Class<T> type)
boolean
setValue(String key, Object value)
void
terminate()
-
Method Details
-
getAliveNodes
Map<Identifier,se.sics.kompics.network.Address> getAliveNodes() -
getDeadNodes
Map<Identifier,se.sics.kompics.network.Address> getDeadNodes() -
setValue
-
getValue
- Throws:
ClassCastException
-
terminate
void terminate()
-