Revision 6814
Added by ben leinfelder over 12 years ago
ReplicationServer.java | ||
---|---|---|
42 | 42 |
//it is relative to replcation |
43 | 43 |
//if replication is false, it should |
44 | 44 |
//be false |
45 |
private boolean systemMetadataReplication = false; //replicate system metadata or not |
|
46 | 45 |
private boolean hub = false; //it is hub or not. Hub means the localhost can |
47 | 46 |
//replcate documents to the server if the |
48 | 47 |
//document's home server is not localhost |
... | ... | |
126 | 125 |
this.dataReplication = myDataReplication; |
127 | 126 |
}//setDataReplication |
128 | 127 |
|
129 |
public boolean isSystemMetadataReplication() { |
|
130 |
return systemMetadataReplication; |
|
131 |
} |
|
132 | 128 |
|
133 |
public void setSystemMetadataReplication(boolean systemMetadataReplication) { |
|
134 |
this.systemMetadataReplication = systemMetadataReplication; |
|
135 |
} |
|
136 |
|
|
137 | 129 |
/** |
138 | 130 |
* Get hub option |
139 | 131 |
*/ |
Also available in: Unified diff
remove flag for independent system metadata replication -- these entries are replicated along with the data/metadata objects or via hazelcast when the actual object is not on the server.