com.sleepycat.je.sync
Class ProcessorMetadata<S extends SyncDataSet>
java.lang.Object
com.sleepycat.je.sync.ProcessorMetadata<S>
- All Implemented Interfaces:
- Serializable
public class ProcessorMetadata<S extends SyncDataSet>
- extends Object
- implements Serializable
Used for storing a serialized form of processor-specific metadata, including
a collection of SyncDataSet objects and processor connection properties;
used only by SyncProcessor implementations. A SyncProcessor implementation
calls SyncProcessor.writeProcessorMetadata(com.sleepycat.je.Transaction, M)
SyncProcessor.readProcessorMetadata(com.sleepycat.je.Transaction)
.
A SyncProcessor implementation will normally subclass ProcessorMetadata
to add processor specific connection properties and other metadata. Because
Java serialization is used to store the metadata object, the subclass must
be serializable. Note that SyncDataSet may also be subclassed to add
processor-specific information.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcessorMetadata
public ProcessorMetadata()
getDataSets
public Collection<S> getDataSets()
addDataSet
public void addDataSet(S dataSet)
removeDataSet
public void removeDataSet(String name)
Copyright (c) 2004-2012 Oracle. All rights reserved.