com.sybase.uep.bobclient.sync
Class SyncPublicationData
java.lang.Object
com.sybase.uep.bobclient.sync.SyncPublicationData
- All Implemented Interfaces:
- SyncStatusListener, java.lang.Runnable
public class SyncPublicationData
- extends java.lang.Object
- implements java.lang.Runnable, SyncStatusListener
Runnable implementation which represents the publication based synchronization. This thread accepts the package name
and publication name from the sync action and process the actual sync publication while scheduled
- Author:
- tqiu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SyncPublicationData
public SyncPublicationData(SyncPublicationAction syncPublicationAction,
java.util.Hashtable pkgPubList)
- Constructor to create a SyncPublicationData thread
- Parameters:
syncPublicationAction
- - SyncPublicationAction actionpkgPubList
- Hashtable
object of publications to sync,
the keys in the hash table is the package names
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
objectSyncStatus
public boolean objectSyncStatus(ObjectSyncStatusData data)
- Called when there is information to report about the status of a
synchronization that is taking place.
- Specified by:
objectSyncStatus
in interface SyncStatusListener
- Parameters:
data
- A ObjectSyncStatusData
object that contains
information about the status of the running synchronization.
- Returns:
- Return true to cancel the synchronization or false to continue.