1 24 package org.objectweb.jalisto.se.api.internal; 25 26 import org.objectweb.jalisto.se.impl.LogicalOid; 27 import org.objectweb.jalisto.se.api.internal.multi.LockManager; 28 import org.objectweb.jalisto.se.api.internal.OidTable; 29 import org.objectweb.jalisto.se.api.Session; 30 import org.objectweb.jalisto.se.api.JalistoProperties; 31 32 import java.util.Collection ; 33 34 public interface SessionInternal extends Session { 35 36 LogicalSystemPageAccess getFileAccess(); 37 38 OidTable getOidTable(); 39 40 LockManager getLockManager(); 41 42 JalistoProperties getProperties(); 43 44 Object getSessionId(); 45 46 void clearObjectCache(); 47 48 49 Object makeNewFileOid(LogicalOid floid); 50 51 Object [] readObjectByOid(Object oid, boolean withCache); 52 53 Collection getAllClassNames(); 54 55 Collection getFloidsFromClid(Object sessionId, Object clid); 56 57 Long reserveFloids(short clid, int number); 58 59 60 void setOptimistic(); 61 62 void setPessimistic(); 63 64 void begin(); 65 66 void commit(); 67 68 void rollback(); 69 70 void checkValidity(String message, boolean mustBeActive); 71 72 boolean isRemoteSession(); 73 } 74 | Popular Tags |