1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.kandula;
18
19 /***
20 * @author <a href="mailto:thilina@opensource.lk"> Thilina Gunarathne </a>
21 */
22 public abstract interface Status {
23 interface CoordinatorStatus {
24
25 static final int STATUS_ABORTING = 9;
26
27 static final int STATUS_ACTIVE = 0;
28
29 static final int STATUS_COMMITTING = 8;
30
31 static final int STATUS_NONE = 6;
32
33 static final int STATUS_PREPARED = 14;
34
35 static final int STATUS_PREPARED_SUCCESS = 13;
36
37 static final int STATUS_PREPARING = 10;
38
39 static final int STATUS_PREPARING_DURABLE = 11;
40
41 static final int STATUS_PREPARING_VOLATILE = 12;
42
43 static final int STATUS_READ_ONLY = 23;
44
45 }
46
47
48 interface ParticipantStatus {
49
50 static final int STATUS_ABORTED = 22;
51
52 static final int STATUS_COMMITED = 24;
53
54 static final int STATUS_DURABLE_PREPARING = 21;
55
56 static final int STATUS_READ_ONLY = 23;
57
58 static final int STATUS_VOLATILE_PREPARING = 20;
59
60 }
61 }