@NotThreadSafe public abstract static class SinkModule.Abstract extends Object implements SinkModule
SinkModule.Abstract| Constructor and Description |
|---|
Abstract() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
abort()
Aborts.
|
void |
close()
Closes this sink.
|
boolean |
delete(VersionedValue versionedValue)
Deletes a value.
|
protected Metadata |
getMetadata()
Gets the metadata.
|
protected SinkServiceAppImpl |
getSinkAppImpl()
Gets the sink application implementation.
|
protected Logger |
getThisLogger()
Gets the logger.
|
void |
open()
Opens this Sink.
|
boolean |
setUp(SinkServiceAppImpl sinkAppImpl)
Sets up the sink for action.
|
void |
tearDown()
Tears down what has been set up.
|
boolean |
update(VersionedValue versionedValue)
Updates a value.
|
public void close()
close in interface SinkModulepublic boolean delete(VersionedValue versionedValue)
delete in interface SinkModuleversionedValue - The point value to delete.public void open()
throws ServiceNotReadyException
open in interface SinkModuleServiceNotReadyException - When the service is not ready.public boolean setUp(SinkServiceAppImpl sinkAppImpl)
setUp in interface SinkModulesinkAppImpl - The sink application implementation.public void tearDown()
tearDown in interface SinkModulepublic boolean update(VersionedValue versionedValue)
update in interface SinkModuleversionedValue - The new point value.protected final void abort()
protected final Metadata getMetadata()
protected final SinkServiceAppImpl getSinkAppImpl()
protected final Logger getThisLogger()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.