1 package org.jgroups.persistence; 2 3 9 10 11 import java.io.Serializable ; 12 import java.util.Map ; 13 14 15 public interface PersistenceManager 16 { 17 18 25 void save(Serializable key, Serializable val) throws CannotPersistException; 26 27 33 Serializable remove(Serializable key) throws CannotRemoveException; 34 35 36 41 void saveAll(Map map) throws CannotPersistException; 42 43 44 49 Map retrieveAll() throws CannotRetrieveException; 50 51 52 56 void clear() throws CannotRemoveException; 57 58 59 63 void shutDown(); 64 65 } 66 | Popular Tags |