com.sybase.persistence
Class BackgroundSynchronization

java.lang.Object
  extended by java.lang.Thread
      extended by com.sybase.persistence.BackgroundSynchronization
All Implemented Interfaces:
java.lang.Runnable

public class BackgroundSynchronization
extends java.lang.Thread

Sybase internal use only.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Method Summary
 void run()
          Run the polling thread contained by this instance.
 void shutdown()
          Shutdown the polling thread contained by this instance.
static BackgroundSynchronization start(java.lang.String pkg, java.lang.String publication, ConnectionProfile profile, SynchronizeCallback callback)
          Start background synchronization.
 
Methods inherited from class java.lang.Thread
activeCount, currentThread, getName, getPriority, interrupt, isAlive, join, setPriority, sleep, start, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

start

public static BackgroundSynchronization start(java.lang.String pkg,
                                              java.lang.String publication,
                                              ConnectionProfile profile,
                                              SynchronizeCallback callback)
Start background synchronization.

Parameters:
pkg - package name to be synchronized
publication - publication name to be synchronized
profile - connection profile contains synchronization information
callback - call back method
Returns:
started instance

run

public void run()
Run the polling thread contained by this instance.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

shutdown

public void shutdown()
Shutdown the polling thread contained by this instance.