public class ProcessorMetadata<S extends SyncDataSet>
extends java.lang.Object
implements java.io.Serializable
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.
Constructor and Description |
---|
ProcessorMetadata() |
Modifier and Type | Method and Description |
---|---|
void |
addDataSet(S dataSet) |
java.util.Collection<S> |
getDataSets() |
void |
removeDataSet(java.lang.String name) |
Copyright (c) 2004-2012 Oracle. All rights reserved.