public abstract class BackingSailSource extends Object implements SailSource
SailSource
that does not respond to close()
prepare()
or flush()
. These
methods have no effect.Constructor and Description |
---|
BackingSailSource() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this resource, relinquishing any underlying resources.
|
void |
flush()
Apply all the changes to this branch to the backing
SailSource , if applicable. |
SailSource |
fork()
Creates a new branch of this source.
|
void |
prepare()
Check the consistency of this branch and throws a
SailConflictException if SailSource.flush() ing this
branch would cause the backing SailSource to be inconsistent, if applicable. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dataset, sink
public SailSource fork()
SailSource
SailSource.flush()
is called the changes are applied to this backing
source.fork
in interface SailSource
SailSource
.public void close() throws SailException
SailClosable
close
in interface AutoCloseable
close
in interface SailClosable
SailException
- if this resource cannot be closedpublic void prepare() throws SailException
SailSource
SailConflictException
if SailSource.flush()
ing this
branch would cause the backing SailSource
to be inconsistent, if applicable. If this is the final backing
SailSource
calling this method has no effect.prepare
in interface SailSource
SailException
public void flush() throws SailException
SailSource
SailSource
, if applicable. If this is the final
backing SailSource
calling this method has no effect.flush
in interface SailSource
SailException
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.