org.simantics.databoard.accessor.file
Interface FileMapAccessor
- All Superinterfaces:
- Accessor, CloseableAccessor, FileAccessor, MapAccessor
- All Known Implementing Classes:
- BinaryMap
public interface FileMapAccessor
- extends MapAccessor, FileAccessor
Method Summary |
void |
clearNoflush()
|
void |
putAllNoflush(Binding keyBinding,
Binding valueBinding,
java.util.Map<java.lang.Object,java.lang.Object> from)
|
void |
putAllNoflush(Binding keyBinding,
Binding valueBinding,
java.lang.Object[] keys,
java.lang.Object[] values)
|
void |
putNoflush(Binding keyBinding,
java.lang.Object key,
Binding valueBinding,
java.lang.Object value)
Put an entry to the map. |
void |
removeNoflush(Binding keyBinding,
java.lang.Object key)
|
void |
setValueNoflush(Binding mapBinding,
java.lang.Object newMap)
Set & copy all entries from a Map Value. |
Methods inherited from interface org.simantics.databoard.accessor.MapAccessor |
clear, containsKey, containsValue, get, getAll, getAll, getCeilingKey, getFirstKey, getFloorKey, getHigherKey, getKeys, getLastKey, getLowerKey, getValueAccessor, getValues, put, putAll, putAll, remove, setValue, size, type |
setValueNoflush
void setValueNoflush(Binding mapBinding,
java.lang.Object newMap)
throws AccessorException
- Set & copy all entries from a Map Value.
If entries are removed and they have accessors, the accessors are invalidated.
- Specified by:
setValueNoflush
in interface FileAccessor
- Parameters:
mapBinding
- newMap
-
- Throws:
BindingException
- binding error
java.lang.UnsupportedOperationException
- cannot set a new value
AccessorException
putNoflush
void putNoflush(Binding keyBinding,
java.lang.Object key,
Binding valueBinding,
java.lang.Object value)
throws AccessorException
- Put an entry to the map. If previous entry exists for the key, it is removed.
- Parameters:
keyBinding
- key
- valueBinding
- value
-
- Throws:
AccessorException
removeNoflush
void removeNoflush(Binding keyBinding,
java.lang.Object key)
throws AccessorException
- Throws:
AccessorException
putAllNoflush
void putAllNoflush(Binding keyBinding,
Binding valueBinding,
java.util.Map<java.lang.Object,java.lang.Object> from)
throws AccessorException
- Throws:
AccessorException
putAllNoflush
void putAllNoflush(Binding keyBinding,
Binding valueBinding,
java.lang.Object[] keys,
java.lang.Object[] values)
throws AccessorException
- Throws:
AccessorException
clearNoflush
void clearNoflush()
throws AccessorException
- Throws:
AccessorException