org.xmlBlaster.contrib.dbupdate
Class OneToThree
java.lang.Object
org.xmlBlaster.contrib.dbupdate.OneToThree
public class OneToThree
- extends java.lang.Object
Important: subjectId ending with a number can't be converted from xb_entries
to xbstore.
You need to have a xmlBlaster.properties with JdbcQueue configured
- Author:
- Marcel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static java.util.logging.Logger log
serverScopeOne
private ServerScope serverScopeOne
serverScopeThree
private ServerScope serverScopeThree
globalOne
private Global globalOne
globalThree
private Global globalThree
to_file
private java.io.File to_file
out_
private java.io.FileOutputStream out_
xbStoreMap
private java.util.Map<java.lang.String,XBStore> xbStoreMap
processed
private int processed
totalProcessed
private int totalProcessed
numAnalysed
private int numAnalysed
limitPositivePubToOneDigit
private boolean limitPositivePubToOneDigit
clusterNodeToIgnore
private java.lang.String clusterNodeToIgnore
dbAccessorServerOne
private CommonTableDatabaseAccessor dbAccessorServerOne
dbAccessorServerThree
private XBDatabaseAccessor dbAccessorServerThree
dbAccessorClientOne
private CommonTableDatabaseAccessor dbAccessorClientOne
dbAccessorClientThree
private XBDatabaseAccessor dbAccessorClientThree
stopWatch
private StopWatch stopWatch
OneToThree
public OneToThree(ServerScope serverScopeOne,
ServerScope serverScopeThree,
Global globalOne,
Global globalThree)
throws XmlBlasterException
- Throws:
XmlBlasterException
initConnections
public void initConnections()
throws java.lang.Exception
- Throws:
java.lang.Exception
transferClusterNode
private boolean transferClusterNode(java.lang.String nodeToTransfer)
transformServerScope
public void transformServerScope()
throws java.lang.Exception
- Throws:
java.lang.Exception
transformClientSide
public void transformClientSide()
throws java.lang.Exception
- Throws:
java.lang.Exception
parsePropertyValue
private java.util.Properties parsePropertyValue(java.lang.String rawString)
throws XmlBlasterException
- Parameters:
rawString
- e.g."org.xmlBlaster.protocol.soap.SoapDriver,classpath=xerces.jar:soap.jar,MAXSIZE=100"
- Throws:
XmlBlasterException
logToFile
public void logToFile(java.lang.String text)
createReportFile
public void createReportFile()
throws java.lang.Exception
- Throws:
java.lang.Exception
closeReportFile
public void closeReportFile()
createServerScopeAccessorOne
public CommonTableDatabaseAccessor createServerScopeAccessorOne()
throws java.lang.Exception
- Throws:
java.lang.Exception
createClientAccessorOne
public CommonTableDatabaseAccessor createClientAccessorOne()
throws java.lang.Exception
- Throws:
java.lang.Exception
createServerScopeAccessorThree
public XBDatabaseAccessor createServerScopeAccessorThree()
throws java.lang.Exception
- Throws:
java.lang.Exception
createClientAccessorThree
public XBDatabaseAccessor createClientAccessorThree()
throws java.lang.Exception
- Throws:
java.lang.Exception
wipeOutThree
public void wipeOutThree()
throws java.lang.Exception
- Throws:
java.lang.Exception
getXBStore
public XBStore getXBStore(XBDatabaseAccessor accessor,
Global glob,
StorageId oldStorageId)
throws XmlBlasterException
- Throws:
XmlBlasterException
main
public static void main(java.lang.String[] args)
Copyright © 1999-2014 The xmlBlaster.org contributers.