|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamAccessor
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.simantics.databoard.accessor.ArrayAccessor |
---|
ArrayAccessor.CloseableArrayAccessor |
Nested classes/interfaces inherited from interface org.simantics.databoard.accessor.Accessor |
---|
Accessor.Listener |
Method Summary | |
---|---|
void |
close()
Close the accessor. |
void |
flush()
Flush the internal write buffer to the disc. |
void |
reset()
Reset internal buffer. |
Methods inherited from interface org.simantics.databoard.accessor.file.FileArrayAccessor |
---|
addAllNoflush, addAllNoflush, addNoflush, addNoflush, removeNoflush, setNoflush, setSizeNoflush, setValueNoflush |
Methods inherited from interface org.simantics.databoard.accessor.file.FileAccessor |
---|
file |
Methods inherited from interface org.simantics.databoard.accessor.ArrayAccessor |
---|
add, add, addAll, addAll, get, get, getAccessor, getAll, getAll, remove, set, setSize, setValue, size, type |
Methods inherited from interface org.simantics.databoard.accessor.Accessor |
---|
addListener, apply, getComponent, getValue, getValue, removeListener |
Method Detail |
---|
void flush() throws AccessorException
FileAccessor
Note, all the write methods of Accessor
and its sub-interfaces
guarantee Durability. They flush the value immediately and do not require
separate FileAccessor.flush()
.
flush
in interface FileAccessor
AccessorException
void close() throws AccessorException
close
in interface CloseableAccessor
close
in interface FileAccessor
AccessorException
void reset() throws AccessorException
reset
in interface FileAccessor
AccessorException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |