public interface IGrid
Don't Implement.
Modifier and Type | Method and Description |
---|---|
<C extends IGridCache> |
getCache(java.lang.Class<? extends IGridCache> iface)
Get Access to various grid modules
|
IMachineSet |
getMachines(java.lang.Class<? extends IGridHost> gridHostClass)
Get machines on the network.
|
IReadOnlyCollection<java.lang.Class<? extends IGridHost>> |
getMachinesClasses()
get a list of the diversity of classes, you can use this to better detect which machines your interested in,
rather then iterating the entire grid to test them.
|
IReadOnlyCollection<IGridNode> |
getNodes() |
IGridNode |
getPivot() |
boolean |
isEmpty() |
MENetworkEvent |
postEvent(MENetworkEvent ev)
Post an event into the network event bus.
|
MENetworkEvent |
postEventTo(IGridNode node,
MENetworkEvent ev)
Post an event into the network event bus, but direct it at a single node.
|
<C extends IGridCache> C getCache(java.lang.Class<? extends IGridCache> iface)
iface
- faceMENetworkEvent postEvent(MENetworkEvent ev)
ev
- - event to postMENetworkEvent postEventTo(IGridNode node, MENetworkEvent ev)
ev
- event to postIReadOnlyCollection<java.lang.Class<? extends IGridHost>> getMachinesClasses()
IMachineSet getMachines(java.lang.Class<? extends IGridHost> gridHostClass)
gridHostClass
- class of the grid hostIReadOnlyCollection<IGridNode> getNodes()
boolean isEmpty()
IGridNode getPivot()