Registry.Impl
Constructor and Description |
---|
Impl(Ice.Communicator ic) |
Modifier and Type | Method and Description |
---|---|
void |
addObject(Ice.ObjectPrx obj) |
IceGrid.AdminSessionPrx |
getAdminSession()
Create a new
AdminSessionPrx with the
RegistryPrx . |
IceGrid.QueryPrx |
getGridQuery()
Returns an active
QueryPrx or null if none is available. |
omero.api.ServiceFactoryPrx |
getInternalServiceFactory(java.lang.String user,
java.lang.Long groupId,
int retries,
int interval,
java.lang.String client_uuid)
Try to return a ServiceFactory from the grid.
|
omero.grid.ClusterNodePrx[] |
lookupClusterNodes()
Returns all found cluster nodes or null if something goes wrong during
lookup (null
QueryPrx for example) |
omero.grid.monitors.MonitorServerPrx[] |
lookupMonitorServers() |
omero.grid.ProcessorPrx[] |
lookupProcessors() |
omero.grid.InternalRepositoryPrx[] |
lookupRepositories() |
omero.grid.TablesPrx[] |
lookupTables() |
void |
removeObject(Ice.Identity id) |
boolean |
removeObjectSafely(Ice.Identity id) |
public omero.api.ServiceFactoryPrx getInternalServiceFactory(java.lang.String user, java.lang.Long groupId, int retries, int interval, java.lang.String client_uuid) throws java.lang.Exception
Registry
user := Username which should have a session created groupId := Group into which the session should be logged retries := Number of session creation retries before throwing interval := Seconds between retries client_uuid := Uuid of the client which should be used
getInternalServiceFactory
in interface Registry
java.lang.Exception
public IceGrid.QueryPrx getGridQuery()
Registry
QueryPrx
or null if none is available.getGridQuery
in interface Registry
public IceGrid.AdminSessionPrx getAdminSession() throws IceGrid.PermissionDeniedException
Registry
AdminSessionPrx
with the
RegistryPrx
. Consumers are required to properly
SessionPrx.destroy()
the returned session.getAdminSession
in interface Registry
IceGrid.PermissionDeniedException
public void addObject(Ice.ObjectPrx obj) throws java.lang.Exception
public void removeObject(Ice.Identity id) throws java.lang.Exception
removeObject
in interface Registry
java.lang.Exception
public boolean removeObjectSafely(Ice.Identity id)
removeObjectSafely
in interface Registry
public omero.grid.ClusterNodePrx[] lookupClusterNodes()
Registry
QueryPrx
for example)lookupClusterNodes
in interface Registry
public omero.grid.ProcessorPrx[] lookupProcessors()
lookupProcessors
in interface Registry
public omero.grid.TablesPrx[] lookupTables()
lookupTables
in interface Registry
public omero.grid.InternalRepositoryPrx[] lookupRepositories()
lookupRepositories
in interface Registry
public omero.grid.monitors.MonitorServerPrx[] lookupMonitorServers()
lookupMonitorServers
in interface Registry
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.