blob: 8476ce8000906eb3bfbab085ce4ea7749693743b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
// -*- IDL -*-
// $Id$
#include "LWFTDataStructures.idl"
#include "StateSynchronizationAgent.idl"
#include "FaultNotification.idl"
typedef sequence<string> HostList;
struct RankListConstraint
{
string object_id;
HostList hosts;
};
typedef sequence<RankListConstraint> RankListConstraints;
interface ReplicationManager : ReplicatedApplication, FLARE::FaultNotifier
{
RankList register_agent (in Object agent_reference);
void register_application (in string object_id,
in double load,
in string host_id,
in string process_id,
in short role,
in Object server_reference);
void set_ranklist_constraints (in RankListConstraints constraints);
RankList register_state_synchronization_agent (
in string host_id,
in string process_id,
in StateSynchronizationAgent agent);
void util_update (in string host_id, in double utilization);
void proc_failure (in string process_id);
Object get_next (in string object_id);
};
|