1 28 29 package com.caucho.server.cluster; 30 31 import java.io.IOException ; 32 import java.io.ObjectInputStream ; 33 import java.io.ObjectOutputStream ; 34 35 38 public interface ObjectManager { 39 42 public long getMaxIdleTime(); 43 44 47 public void load(ObjectInputStream out, Object object) 48 throws IOException ; 49 50 53 public boolean isEmpty(Object object) 54 throws IOException ; 55 56 59 public void store(ObjectOutputStream out, Object object) 60 throws IOException ; 61 62 65 public void notifyUpdate(String objectId) 66 throws IOException ; 67 68 71 public void notifyRemove(String objectId) 72 throws IOException ; 73 } 74 | Popular Tags |