com.sleepycat.je.sync
Class SyncDataSet

java.lang.Object
  extended by com.sleepycat.je.sync.SyncDataSet
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MobileDataSet

public abstract class SyncDataSet
extends Object
implements Serializable

Defines a sychronized data set as a set of local databases to be synchronized with an external system. An instance of this class is created by calling SyncProcessor.addDataSet.

See Also:
Serialized Form

Constructor Summary
protected SyncDataSet(String dataSetName, SyncProcessor processor, Collection<SyncDatabase> databases)
          Used by subclasses to create a SyncDataSet.
 
Method Summary
 Collection<SyncDatabase> getDatabases()
          Returns the databases that are synchronized.
 String getName()
          Returns the name of the data set, which is unique among all data sets for each SyncProcessor instance.
 SyncProcessor getProcessor()
          Returns the SyncProcessor that manages this data set.
 void initSyncProcessor(SyncProcessor processor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyncDataSet

protected SyncDataSet(String dataSetName,
                      SyncProcessor processor,
                      Collection<SyncDatabase> databases)
Used by subclasses to create a SyncDataSet.

Method Detail

initSyncProcessor

public void initSyncProcessor(SyncProcessor processor)

getName

public String getName()
Returns the name of the data set, which is unique among all data sets for each SyncProcessor instance.


getProcessor

public SyncProcessor getProcessor()
Returns the SyncProcessor that manages this data set.


getDatabases

public Collection<SyncDatabase> getDatabases()
Returns the databases that are synchronized.



Copyright (c) 2004-2012 Oracle. All rights reserved.