public class WriteThruOptions
extends java.lang.Object
Constructor | Description |
---|---|
WriteThruOptions() |
Initialized a new instance of WriteThruOptions.
|
WriteThruOptions(WriteMode mode) |
Initialized a new instance of WriteThruOptions.
|
WriteThruOptions(WriteMode mode,
java.lang.String providerName) |
Initialized a new instance of WriteThruOptions.
|
Modifier and Type | Method | Description |
---|---|---|
DataSourceModifiedListener |
getDataSourceModificationListener() |
Gets the data source modified notification listener for write-through options.
|
java.util.EnumSet<EventType> |
getEventTypes() |
Gets the events enumset registered for datasource modification listener.
|
WriteMode |
getMode() |
Gets the
WriteMode for write-through options. |
java.lang.String |
getProviderName() |
Gets the unique identifier for the data source provider.
|
void |
setDataSourceModificationListener(DataSourceModifiedListener listener,
java.util.EnumSet<EventType> eventsEnumSet) |
Sets the data source modified notification listener for write-through options.
|
void |
setMode(WriteMode value) |
Sets the
WriteMode for write-through options. |
void |
setProviderName(java.lang.String value) |
Sets the unique identifier for the data source provider.
|
public WriteThruOptions()
public WriteThruOptions(WriteMode mode, java.lang.String providerName)
mode
- See WriteMode
for write-through options.providerName
- A unique identifier for the data source provider.public final WriteMode getMode()
WriteMode
for write-through options.public final void setMode(WriteMode value)
WriteMode
for write-through options.value
- write mode for write-through options.public final java.lang.String getProviderName()
public final void setProviderName(java.lang.String value)
value
- The name of the datasource provider.public java.util.EnumSet<EventType> getEventTypes()
public final DataSourceModifiedListener getDataSourceModificationListener()
public final void setDataSourceModificationListener(DataSourceModifiedListener listener, java.util.EnumSet<EventType> eventsEnumSet)
listener
- A listener that is invoked whenever datasource is modified.eventsEnumSet
- The event type/types to be registered against the datasource listener.