|
Ice 3.7 Slice API Reference
|
The IceGrid query interface. More...
defined in <IceGrid/Registry.ice>
interface Query { ... }
Operations | |
| idempotent Ice::ObjectProxySeq | findAllObjectsByType (string type) |
| Find all the well-known objects with the given type. More... | |
| idempotent Ice::ObjectProxySeq | findAllReplicas (Object *proxy) |
| Find all the object replicas associated with the given proxy. More... | |
| idempotent Object * | findObjectById (Ice::Identity id) |
| Find a well-known object by identity. More... | |
| idempotent Object * | findObjectByType (string type) |
| Find a well-known object by type. More... | |
| idempotent Object * | findObjectByTypeOnLeastLoadedNode (string type, LoadSample sample) |
| Find a well-known object by type on the least-loaded node. More... | |
The IceGrid query interface.
This interface is accessible to Ice clients who wish to look up well-known objects.
| idempotent Ice::ObjectProxySeq findAllObjectsByType | ( | string | type | ) |
Find all the well-known objects with the given type.
| type | The object type. |
| idempotent Ice::ObjectProxySeq findAllReplicas | ( | Object * | proxy | ) |
Find all the object replicas associated with the given proxy.
If the given proxy is not an indirect proxy from a replica group, an empty sequence is returned.
| proxy | The object proxy. |
| idempotent Object* findObjectById | ( | Ice::Identity | id | ) |
Find a well-known object by identity.
| id | The identity. |
| idempotent Object* findObjectByType | ( | string | type | ) |
Find a well-known object by type.
If there are several objects registered for the given type, the object is randomly selected.
| type | The object type. |
| idempotent Object* findObjectByTypeOnLeastLoadedNode | ( | string | type, |
| LoadSample | sample | ||
| ) |
Find a well-known object by type on the least-loaded node.
If the registry does not know which node hosts the object (for example, because the object was registered with a direct proxy), the registry assumes the object is hosted on a node that has a load average of 1.0.
| type | The object type. |
| sample | The sampling interval. |