Revision 669
Added by Matt Jones about 23 years ago
ForceReplicationHandler.java | ||
---|---|---|
1 | 1 |
/** |
2 | 2 |
* '$RCSfile$' |
3 |
* Purpose: A class to asyncronously force the replication of each server |
|
4 |
* that has an entry in the xml_replication table. When run, this thread |
|
5 |
* communicates with each server in the list and solicites a read of an |
|
6 |
* updated or newly inserted document with a certain docid. |
|
3 |
* Purpose: A class to asyncronously force the replication of each server |
|
4 |
* that has an entry in the xml_replication table. When run, |
|
5 |
* this thread communicates with each server in the list and |
|
6 |
* solicites a read of an updated or newly inserted document |
|
7 |
* with a certain docid. |
|
7 | 8 |
* Copyright: 2000 Regents of the University of California and the |
8 | 9 |
* National Center for Ecological Analysis and Synthesis |
9 |
* Authors: Chad Berkley |
|
10 |
* Release: @release@ |
|
10 |
* Authors: Chad Berkley
|
|
11 |
* Release: @release@
|
|
11 | 12 |
* |
12 |
* '$Author$' |
|
13 |
* '$Date$' |
|
14 |
* '$Revision$' |
|
13 |
* '$Author$' |
|
14 |
* '$Date$' |
|
15 |
* '$Revision$' |
|
16 |
* |
|
17 |
* This program is free software; you can redistribute it and/or modify |
|
18 |
* it under the terms of the GNU General Public License as published by |
|
19 |
* the Free Software Foundation; either version 2 of the License, or |
|
20 |
* (at your option) any later version. |
|
21 |
* |
|
22 |
* This program is distributed in the hope that it will be useful, |
|
23 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
24 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
25 |
* GNU General Public License for more details. |
|
26 |
* |
|
27 |
* You should have received a copy of the GNU General Public License |
|
28 |
* along with this program; if not, write to the Free Software |
|
29 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
15 | 30 |
*/ |
16 | 31 |
|
17 | 32 |
package edu.ucsb.nceas.metacat; |
... | ... | |
23 | 38 |
import java.lang.*; |
24 | 39 |
import java.text.*; |
25 | 40 |
|
41 |
/** |
|
42 |
* A class to asyncronously force the replication of each server |
|
43 |
* that has an entry in the xml_replication table. When run, |
|
44 |
* this thread communicates with each server in the list and |
|
45 |
* solicites a read of an updated or newly inserted document |
|
46 |
* with a certain docid. |
|
47 |
*/ |
|
26 | 48 |
public class ForceReplicationHandler implements Runnable |
27 | 49 |
{ |
28 | 50 |
private Thread btThread; |
Also available in: Unified diff
Added license terms to source code files, and cleaned up some javadoc
documentation in a few places.