Package org.onosproject.persistence
Interface PersistenceService
- 
public interface PersistenceServiceService that allows for the creation of local disk backed map for instance specific values that persist across restarts. Empty maps and sets are deleted on shutdown. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <K,V>
PersistentMapBuilder<K,V>persistentMapBuilder()A builder for the creation of local persistent maps backed by disk.<E> PersistentSetBuilder<E>persistentSetBuilder()A builder for the creation of local persistent sets backed by disk. 
 - 
 
- 
- 
Method Detail
- 
persistentMapBuilder
<K,V> PersistentMapBuilder<K,V> persistentMapBuilder()
A builder for the creation of local persistent maps backed by disk.- Type Parameters:
 K- the type of keys in this mapV- the type of values in this map- Returns:
 - a persistent map builder
 
 
- 
persistentSetBuilder
<E> PersistentSetBuilder<E> persistentSetBuilder()
A builder for the creation of local persistent sets backed by disk.- Type Parameters:
 E- the type of the elements- Returns:
 - a persistent set builder
 
 
 - 
 
 -