@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 SinkModule
public boolean delete(VersionedValue versionedValue)
delete
in interface SinkModule
versionedValue
- The point value to delete.public void open() throws ServiceNotReadyException
open
in interface SinkModule
ServiceNotReadyException
- When the service is not ready.public boolean setUp(SinkServiceAppImpl sinkAppImpl)
setUp
in interface SinkModule
sinkAppImpl
- The sink application implementation.public void tearDown()
tearDown
in interface SinkModule
public boolean update(VersionedValue versionedValue)
update
in interface SinkModule
versionedValue
- 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.