1 23 24 package com.sun.ejb.spi.sfsb.store; 25 26 import java.util.Map ; 27 28 import com.sun.ejb.spi.stats.MonitorableSFSBStoreManager; 29 30 38 public interface SFSBStoreManager { 39 40 44 public void checkpointSave(SFSBBeanState beanState) 45 throws SFSBStoreManagerException; 46 47 52 public SFSBBeanState createSFSBBeanState(Object sessionId, 53 long lastAccess, boolean isNew, byte[] state); 54 55 58 public MonitorableSFSBStoreManager getMonitorableSFSBStoreManager(); 59 60 66 public SFSBBeanState getState(Object sessionKey) 67 throws SFSBStoreManagerException; 68 69 72 public void initSessionStore(Map storeEnv) 73 throws SFSBStoreManagerException; 74 75 79 public void passivateSave(SFSBBeanState beanState) 80 throws SFSBStoreManagerException; 81 82 85 public void remove(Object sessionKey) 86 throws SFSBStoreManagerException; 87 88 92 public void removeAll() 93 throws SFSBStoreManagerException; 94 95 99 public int removeExpiredSessions() 100 throws SFSBStoreManagerException; 101 102 105 public void shutdown() 106 throws SFSBStoreManagerException; 107 108 113 public void updateLastAccessTime(Object sessionKey, long time) 114 throws SFSBStoreManagerException; 115 116 } 117 | Popular Tags |