Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  nceas 1060 almost 22 years Jing Tao Change the method getLocalReplicationServerName...

Latest revisions

# Date Author Comment
1060 05/08/2002 09:27 AM Jing Tao

Change the method getLocalReplicationServerName to be static

1059 05/08/2002 09:25 AM Jing Tao

Add the feature to get doc home server into method getDocumentInfo.
Add a method to return docHomeServer.

1058 05/07/2002 05:00 PM Jing Tao

Fixed a bug in method getHomeServer

1057 05/07/2002 04:59 PM Jing Tao

Revise the method getDocumentInfo. Home server of documnet is added in it.

1056 05/07/2002 04:57 PM Jing Tao

Revised handleUploadRequet.

1055 05/07/2002 04:56 PM Jing Tao

Add three methods into this class. One is named getServerCode, to given a server name, it return server code in xml_replication table.
One named insertServerIntoReplicationTable, if a server is not in the server list, it will insert it.
One is named WriteReplication, this method will be used in forceReplication. It delete the replication code in it.

1054 05/07/2002 04:52 PM Jing Tao

Delete the control that when action="insert", rev should be 1

1053 05/06/2002 11:30 AM Jing Tao

Overload a method debugMessage(String msg, int debugLevel)
User can set a debugLevel for this message. If debugLevel is less than the default a value in build.xml, this message will be printed.
If user set a value less than or equals 0, debugLevel will be set automatically to 1. So we can set default value to 0 in build.xml file and close all debug message.

1043 04/30/2002 08:33 AM Jing Tao

Add two methods getHomeServer and getServerLocation. Given a docid, getHomeServer can get the information of its home host. Given a docid, getServerLocation can return server code for it.

1042 04/30/2002 08:29 AM Jing Tao

In handleUpdateRequest method, if a metacat was configured to be hub super, it can provide any documents in its database. If the metacat is notsuper, it only provide the documents list which home host is itself.

View revisions

Also available in: Atom