Ice 3.6 Slice API Reference
All Classes Interfaces Structs Exceptions Modules Files Operations Constants Sequences Dictionaries Enumerations Enumerator Pages
Descriptor.ice
Go to the documentation of this file.
1 // **********************************************************************
2 //
3 // Copyright (c) 2003-2018 ZeroC, Inc. All rights reserved.
4 //
5 // This copy of Ice is licensed to you under the terms described in the
6 // ICE_LICENSE file included in this distribution.
7 //
8 // **********************************************************************
9 
10 #pragma once
11 
12 [["cpp:header-ext:h", "objc:header-dir:objc", "js:ice-build"]]
13 [["cpp:include:IceGrid/Config.h"]]
14 
15 #include <Ice/Identity.ice>
16 #include <Ice/BuiltinSequences.ice>
17 
18 ["objc:prefix:ICEGRID"]
19 module IceGrid
20 {
21 
27 dictionary<string, string> StringStringDict;
28 
35 {
41  string name;
42 
48  string value;
49 };
50 
56 ["java:type:java.util.LinkedList<PropertyDescriptor>"] sequence<PropertyDescriptor> PropertyDescriptorSeq;
57 
63 ["cpp:comparable"]
65 {
72 
79 };
80 
86 dictionary<string, PropertySetDescriptor> PropertySetDescriptorDict;
87 
94 {
101 
107  string type;
108 
116  string proxyOptions;
117 };
118 
124 ["java:type:java.util.LinkedList<ObjectDescriptor>"] sequence<ObjectDescriptor> ObjectDescriptorSeq;
125 
131 ["cpp:comparable"]
133 {
139  string name;
140 
146  string description;
147 
153  string id;
154 
161 
169  string priority;
170 
177 
187 
194 
201 };
202 
208 ["java:type:java.util.LinkedList<AdapterDescriptor>"] sequence<AdapterDescriptor> AdapterDescriptorSeq;
209 
215 ["cpp:comparable"]
217 {
223  string name;
224 
230  string description;
231 
240  string dbHome;
241 
248 };
249 
255 ["java:type:java.util.LinkedList<DbEnvDescriptor>"] sequence<DbEnvDescriptor> DbEnvDescriptorSeq;
256 
263 {
270 
277 
284 
291 
297  string description;
298 };
299 
306 ["cpp:comparable"]
308 {
310  string icepatch;
311 
313  ["java:type:java.util.LinkedList<String>"] Ice::StringSeq directories;
314 };
315 
322 {
328  string id;
329 
335  string exe;
336 
346  string iceVersion;
347 
353  string pwd;
354 
360  ["java:type:java.util.LinkedList<String>"] Ice::StringSeq options;
361 
367  ["java:type:java.util.LinkedList<String>"] Ice::StringSeq envs;
368 
375  string activation;
376 
384 
392 
400 
407 
414 
420  string user;
421 };
422 
428 ["java:type:java.util.LinkedList<ServerDescriptor>"] sequence<ServerDescriptor> ServerDescriptorSeq;
429 
436 {
442  string name;
443 
449  string entry;
450 };
451 
457 ["java:type:java.util.LinkedList<ServiceDescriptor>"] sequence<ServiceDescriptor> ServiceDescriptorSeq;
458 
464 ["cpp:comparable"]
466 {
472  string template;
473 
480 
487 
495 };
496 
502 ["java:type:java.util.LinkedList<ServerInstanceDescriptor>"]
503 sequence<ServerInstanceDescriptor> ServerInstanceDescriptorSeq;
504 
511 {
518 
524  ["java:type:java.util.LinkedList<String>"] Ice::StringSeq parameters;
525 
532 };
533 
539 dictionary<string, TemplateDescriptor> TemplateDescriptorDict;
540 
547 {
553  string template;
554 
561 
569 
576 };
577 
583 ["java:type:java.util.LinkedList<ServiceInstanceDescriptor>"]
584 sequence<ServiceInstanceDescriptor> ServiceInstanceDescriptorSeq;
585 
592 {
599 };
600 
607 {
613  ["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
614 
621 
628 
634  string loadFactor;
635 
641  string description;
642 
649 };
650 
656 dictionary<string, NodeDescriptor> NodeDescriptorDict;
657 
664 {
671  string nReplicas;
672 };
673 
680 {
681 };
682 
689 {
690 };
691 
698 {
699 };
700 
707 {
716  string loadSample;
717 };
718 
725 {
731  string id;
732 
739 
745  string proxyOptions;
746 
753 
759  string description;
760 
766  string filter;
767 };
768 
774 ["java:type:java.util.LinkedList<ReplicaGroupDescriptor>"] sequence<ReplicaGroupDescriptor> ReplicaGroupDescriptorSeq;
775 
782 {
788  string name;
789 
795  ["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
796 
803 
810 
817 
824 
831 
837  string description;
838 
845 };
846 
852 ["java:type:java.util.LinkedList<ApplicationDescriptor>"] sequence<ApplicationDescriptor> ApplicationDescriptorSeq;
853 
860 {
862  string value;
863 };
864 
872 {
878  string name;
879 
887 
893  ["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
894 
901 
908 
915 
922 
929 
936 
944 };
945 
951 ["java:type:java.util.LinkedList<NodeUpdateDescriptor>"] sequence<NodeUpdateDescriptor> NodeUpdateDescriptorSeq;
952 
959 {
962 };
963 
971 {
977  string name;
978 
986 
993 
999  ["java:type:java.util.TreeMap<String, String>"] StringStringDict variables;
1000 
1007 
1014 
1021 
1028 
1035 
1042 
1049 
1056 
1063 
1070 
1077 };
1078 
1079 };
1080 
string name
The name of the database environment.
Definition: Descriptor.ice:223
PropertySetDescriptorDict propertySets
The property sets to update.
Definition: Descriptor.ice:907
string dbHome
The home of the database environment (i.e., the directory where the database files will be stored)...
Definition: Descriptor.ice:240
sequence< ReplicaGroupDescriptor > ReplicaGroupDescriptorSeq
A sequence of replica groups.
Definition: Descriptor.ice:774
Ice::StringSeq envs
The server environment variables.
Definition: Descriptor.ice:367
A property set descriptor.
Definition: Descriptor.ice:64
PropertyDescriptorSeq properties
The configuration properties of the database environment.
Definition: Descriptor.ice:247
NodeUpdateDescriptorSeq nodes
The application nodes to update.
Definition: Descriptor.ice:1069
Ordered load balancing policy.
Definition: Descriptor.ice:688
AdapterDescriptorSeq adapters
The object adapters.
Definition: Descriptor.ice:269
Ice::StringSeq removeVariables
The variables to remove.
Definition: Descriptor.ice:900
DistributionDescriptor distrib
The distribution descriptor.
Definition: Descriptor.ice:406
StringStringDict parameterValues
The template parameter values.
Definition: Descriptor.ice:479
string name
The application name.
Definition: Descriptor.ice:788
string name
The name of the property.
Definition: Descriptor.ice:41
A replica group descriptor.
Definition: Descriptor.ice:724
bool applicationDistrib
Specifies if the server depends on the application distribution.
Definition: Descriptor.ice:399
An Ice server descriptor.
Definition: Descriptor.ice:321
bool serverLifetime
If true the lifetime of this object adapter is the same of the server lifetime.
Definition: Descriptor.ice:186
ObjectDescriptorSeq objects
The well-known object descriptors associated with this object adapter.
Definition: Descriptor.ice:193
ReplicaGroupDescriptorSeq replicaGroups
The replica groups.
Definition: Descriptor.ice:802
TemplateDescriptorDict serviceTemplates
The service templates.
Definition: Descriptor.ice:816
Ice::StringSeq removeServers
The ids of the servers to remove.
Definition: Descriptor.ice:935
string icepatch
The proxy of the IcePatch2 server.
Definition: Descriptor.ice:310
A template descriptor for server or service templates.
Definition: Descriptor.ice:510
string type
The object type.
Definition: Descriptor.ice:107
ObjectDescriptorSeq allocatables
The allocatable object descriptors associated with this object adapter.
Definition: Descriptor.ice:200
ServiceInstanceDescriptorSeq services
The service instances.
Definition: Descriptor.ice:598
string name
The name of the node to update.
Definition: Descriptor.ice:878
sequence< ObjectDescriptor > ObjectDescriptorSeq
A sequence of object descriptors.
Definition: Descriptor.ice:124
ObjectDescriptorSeq objects
The object descriptors associated with this object adapter.
Definition: Descriptor.ice:752
string id
The server id.
Definition: Descriptor.ice:328
string proxyOptions
Proxy options to use with the proxy created for this Ice object.
Definition: Descriptor.ice:116
string description
The description of this replica group.
Definition: Descriptor.ice:759
string id
The object adapter id.
Definition: Descriptor.ice:153
sequence< DbEnvDescriptor > DbEnvDescriptorSeq
A sequence of database environment descriptors.
Definition: Descriptor.ice:255
ServerDescriptorSeq servers
The servers which are not template instances to update.
Definition: Descriptor.ice:928
PropertySetDescriptorDict propertySets
Property set descriptors.
Definition: Descriptor.ice:648
The identity of an Ice object.
Definition: Identity.ice:28
A Freeze database environment descriptor.
Definition: Descriptor.ice:216
sequence< PropertyDescriptor > PropertyDescriptorSeq
A sequence of property descriptors.
Definition: Descriptor.ice:56
BoxedDistributionDescriptor distrib
The updated distribution application descriptor.
Definition: Descriptor.ice:992
dictionary< string, string > StringStringDict
A mapping of string to string.
Definition: Descriptor.ice:27
An Ice object adapter descriptor.
Definition: Descriptor.ice:132
string loadSample
The load sample to use for the load balancing.
Definition: Descriptor.ice:716
string filter
The filter to use for this replica group.
Definition: Descriptor.ice:766
sequence< ServerDescriptor > ServerDescriptorSeq
A sequence of server descriptors.
Definition: Descriptor.ice:428
Adaptive load balancing policy.
Definition: Descriptor.ice:706
string description
The description of this database environment.
Definition: Descriptor.ice:230
ReplicaGroupDescriptorSeq replicaGroups
The replica groups to update.
Definition: Descriptor.ice:1027
string description
The description of this node.
Definition: Descriptor.ice:641
A node update descriptor to describe the updates to apply to a node of a deployed application...
Definition: Descriptor.ice:871
string nReplicas
The number of replicas that will be used to gather the endpoints of a replica group.
Definition: Descriptor.ice:671
An IceBox service descriptor.
Definition: Descriptor.ice:435
StringStringDict parameterValues
The template parameter values.
Definition: Descriptor.ice:560
ServiceDescriptor descriptor
The service definition if the instance isn&#39;t a template instance (i.e.
Definition: Descriptor.ice:568
Ice::StringSeq removeNodes
The nodes to remove.
Definition: Descriptor.ice:1076
PropertyDescriptorSeq properties
The property set properties.
Definition: Descriptor.ice:78
dictionary< string, PropertySetDescriptor > PropertySetDescriptorDict
A mapping of property set name to property set descriptor.
Definition: Descriptor.ice:86
PropertySetDescriptor propertySet
The property set.
Definition: Descriptor.ice:486
Ice::StringSeq logs
The path of each log file.
Definition: Descriptor.ice:290
PropertySetDescriptorDict propertySets
Property set descriptors.
Definition: Descriptor.ice:844
Ice::StringSeq options
The command line options to pass to the server executable.
Definition: Descriptor.ice:360
Ice::StringSeq removeReplicaGroups
The replica groups to remove.
Definition: Descriptor.ice:1034
A base class for load balancing policies.
Definition: Descriptor.ice:663
LoadBalancingPolicy loadBalancing
The load balancing policy.
Definition: Descriptor.ice:738
string proxyOptions
Default options for proxies created for the replica group.
Definition: Descriptor.ice:745
Ice::Identity id
The identity of the object.
Definition: Descriptor.ice:100
string deactivationTimeout
The deactivation timeout (an integer value representing the number of seconds to wait for deactivatio...
Definition: Descriptor.ice:391
string activation
The server activation mode (possible values are "on-demand" or "manual").
Definition: Descriptor.ice:375
Ice::StringSeq references
References to named property sets.
Definition: Descriptor.ice:71
Ice::StringSeq removeVariables
The variables to remove.
Definition: Descriptor.ice:1006
Ice::StringSeq removePropertySets
The property sets to remove.
Definition: Descriptor.ice:1020
Ice::StringSeq removePropertySets
The property sets to remove.
Definition: Descriptor.ice:914
PropertySetDescriptorDict propertySets
The property sets to update.
Definition: Descriptor.ice:1013
string entry
The entry point of the IceBox service.
Definition: Descriptor.ice:449
string name
The name of the application to update.
Definition: Descriptor.ice:977
ServerDescriptorSeq servers
Servers (which are not template instances).
Definition: Descriptor.ice:627
string loadFactor
Load factor of the node.
Definition: Descriptor.ice:634
string name
The object adapter name.
Definition: Descriptor.ice:139
A server template instance descriptor.
Definition: Descriptor.ice:465
A "boxed" distribution descriptor.
Definition: Descriptor.ice:958
sequence< NodeUpdateDescriptor > NodeUpdateDescriptorSeq
A sequence of node update descriptors.
Definition: Descriptor.ice:951
string description
A description of this descriptor.
Definition: Descriptor.ice:297
BoxedString loadFactor
The updated load factor of the node (or null if the load factor was not updated). ...
Definition: Descriptor.ice:943
Ice::StringSeq removeServerTemplates
The ids of the server template to remove.
Definition: Descriptor.ice:1048
dictionary< string, TemplateDescriptor > TemplateDescriptorDict
A mapping of template identifier to template descriptor.
Definition: Descriptor.ice:539
bool registerProcess
Flag to specify if the object adapter will register a process object.
Definition: Descriptor.ice:176
A communicator descriptor.
Definition: Descriptor.ice:262
string value
The value of the property.
Definition: Descriptor.ice:48
BoxedString description
The updated description (or null if the description wasn&#39;t updated.)
Definition: Descriptor.ice:886
An Ice object descriptor.
Definition: Descriptor.ice:93
TemplateDescriptorDict serverTemplates
The server templates.
Definition: Descriptor.ice:809
TemplateDescriptorDict serviceTemplates
The service templates to update.
Definition: Descriptor.ice:1055
DistributionDescriptor distrib
The application distribution.
Definition: Descriptor.ice:830
sequence< ServiceDescriptor > ServiceDescriptorSeq
A sequence of service descriptors.
Definition: Descriptor.ice:457
string value
The value of the boxed string.
Definition: Descriptor.ice:862
PropertySetDescriptor propertySet
The property set.
Definition: Descriptor.ice:575
StringStringDict parameterDefaults
The parameters default values.
Definition: Descriptor.ice:531
Property descriptor.
Definition: Descriptor.ice:34
An application descriptor.
Definition: Descriptor.ice:781
string replicaGroupId
The replica id of this adapter.
Definition: Descriptor.ice:160
sequence< ApplicationDescriptor > ApplicationDescriptorSeq
A sequence of application descriptors.
Definition: Descriptor.ice:852
A "boxed" string.
Definition: Descriptor.ice:859
ServerInstanceDescriptorSeq serverInstances
The server instances to update.
Definition: Descriptor.ice:921
string user
The user account used to run the server.
Definition: Descriptor.ice:420
TemplateDescriptorDict serverTemplates
The server templates to update.
Definition: Descriptor.ice:1041
IceGrid is a server activation and deployment tool.
Definition: Admin.ice:24
PropertySetDescriptorDict servicePropertySets
The services property sets.
Definition: Descriptor.ice:494
Random load balancing policy.
Definition: Descriptor.ice:679
DistributionDescriptor value
The value of the boxed distribution descriptor.
Definition: Descriptor.ice:961
Round robin load balancing policy.
Definition: Descriptor.ice:697
string iceVersion
The Ice version used by this server.
Definition: Descriptor.ice:346
Ice::StringSeq parameters
The parameters required to instantiate the template.
Definition: Descriptor.ice:524
sequence< string > StringSeq
A sequence of strings.
Definition: BuiltinSequences.ice:40
A service template instance descriptor.
Definition: Descriptor.ice:546
bool allocatable
Specifies if the server is allocatable.
Definition: Descriptor.ice:413
string exe
The path of the server executable.
Definition: Descriptor.ice:335
PropertySetDescriptor propertySet
The property set.
Definition: Descriptor.ice:276
sequence< ServerInstanceDescriptor > ServerInstanceDescriptorSeq
A sequence of server instance descriptors.
Definition: Descriptor.ice:503
A distribution descriptor defines an IcePatch2 server and the directories to retrieve from the patch ...
Definition: Descriptor.ice:307
An IceBox server descriptor.
Definition: Descriptor.ice:591
Ice::StringSeq directories
The source directories.
Definition: Descriptor.ice:313
DbEnvDescriptorSeq dbEnvs
The database environments.
Definition: Descriptor.ice:283
sequence< AdapterDescriptor > AdapterDescriptorSeq
A sequence of adapter descriptors.
Definition: Descriptor.ice:208
CommunicatorDescriptor descriptor
The template.
Definition: Descriptor.ice:517
string description
The description of this application.
Definition: Descriptor.ice:837
string name
The service name.
Definition: Descriptor.ice:442
dictionary< string, NodeDescriptor > NodeDescriptorDict
Mapping of node name to node descriptor.
Definition: Descriptor.ice:656
sequence< ServiceInstanceDescriptor > ServiceInstanceDescriptorSeq
A sequence of service instance descriptors.
Definition: Descriptor.ice:584
string description
The description of this object adapter.
Definition: Descriptor.ice:146
A node descriptor.
Definition: Descriptor.ice:606
ServerInstanceDescriptorSeq serverInstances
The server instances.
Definition: Descriptor.ice:620
string pwd
The path to the server working directory.
Definition: Descriptor.ice:353
StringStringDict variables
The variables to update.
Definition: Descriptor.ice:999
An application update descriptor to describe the updates to apply to a deployed application.
Definition: Descriptor.ice:970
BoxedString description
The updated description (or null if the description wasn&#39;t updated.)
Definition: Descriptor.ice:985
NodeDescriptorDict nodes
The application nodes.
Definition: Descriptor.ice:823
StringStringDict variables
The variables defined for the node.
Definition: Descriptor.ice:613
Ice::StringSeq removeServiceTemplates
The ids of the service template to remove.
Definition: Descriptor.ice:1062
string id
The id of the replica group.
Definition: Descriptor.ice:731
StringStringDict variables
The variables defined in the application descriptor.
Definition: Descriptor.ice:795
string priority
The adapter priority.
Definition: Descriptor.ice:169
StringStringDict variables
The variables to update.
Definition: Descriptor.ice:893
string activationTimeout
The activation timeout (an integer value representing the number of seconds to wait for activation)...
Definition: Descriptor.ice:383