|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.ucsb.nceas.metacat.ForceReplicationHandler
A class to asyncronously force the replication of each server that has an entry in the xml_replication table. When run, this thread communicates with each server in the list and solicites a read of an updated or newly inserted document with a certain docid.
Constructor Summary | |
ForceReplicationHandler(java.lang.String docid)
Use this constructor when the action is implied. |
|
ForceReplicationHandler(java.lang.String docid,
java.lang.String action)
|
Method Summary | |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ForceReplicationHandler(java.lang.String docid, java.lang.String action)
docid
- the docid to force replicatethe
- action that is being performed on the document (either
INSERT or UPDATE)public ForceReplicationHandler(java.lang.String docid)
Method Detail |
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |