Package org.drools.core.common
Interface Storage<K,V>
- Type Parameters:
K-V-
- All Known Implementing Classes:
MapStorage
public interface Storage<K,V>
This interface represents the minimal abstraction to store data. It might be merged into ObjectStore in the long run.
See drools-reliability module for alternative implementations
-
Method Details
-
get
-
put
-
putAll
-
containsKey
-
remove
-
keySet
-
values
Collection<V> values() -
clear
void clear() -
size
int size() -
isEmpty
boolean isEmpty() -
getOrDefault
-
requiresFlush
default boolean requiresFlush() -
flush
default void flush() -
fromMap
-