public interface NodeProvider
Node
objects which is responsible for persisting and
populating such entities.
Used by Blitz's ome.services.blitz.fire.Ring
.Modifier and Type | Method and Description |
---|---|
ome.model.meta.Node |
addManager(java.lang.String managerUuid,
java.lang.String proxyString)
Adds a manager node.
|
int |
closeSessionsForManager(java.lang.String managerUuid)
Closes all sessions for a given manager node.
|
ome.model.meta.Node |
getManagerByUuid(java.lang.String managerUuid,
ome.system.ServiceFactory sf)
Retrieves a given manager node.
|
long |
getManagerIdByUuid(java.lang.String managerUuid,
ome.util.SqlAction sql)
Retrieves a given manager node ID.
|
java.util.Set<java.lang.String> |
getManagerList(boolean onlyActive) |
ome.system.Principal |
principal()
Retrieves the current active principal.
|
void |
setManagerDown(java.lang.String managerUuid)
Sets a given manager node as down.
|
java.util.Set<java.lang.String> getManagerList(boolean onlyActive)
long getManagerIdByUuid(java.lang.String managerUuid, ome.util.SqlAction sql)
managerUuid
- manager node UUID to retrievesql
- active SQL context which can be used to make queriesome.model.meta.Node getManagerByUuid(java.lang.String managerUuid, ome.system.ServiceFactory sf)
managerUuid
- manager node UUID to retrievesf
- current session's service factoryint closeSessionsForManager(java.lang.String managerUuid)
managerUuid
- manager node UUID to close sessions forvoid setManagerDown(java.lang.String managerUuid)
managerUuid
- manager node UUID to set as downome.model.meta.Node addManager(java.lang.String managerUuid, java.lang.String proxyString)
managerUuid
- manager node UUID to addproxyString
- manager node proxy connection stringome.system.Principal principal()