1 24 package org.objectweb.jalisto.se.impl.server.page; 25 26 import org.objectweb.jalisto.se.api.internal.JalistoObject; 27 import org.objectweb.jalisto.se.api.JalistoProperties; 28 import org.objectweb.jalisto.se.impl.InFileAddress; 29 30 public class NodePage extends UserPage { 31 public NodePage(int size, Object pid) { 32 super(size, pid); 33 } 34 35 public void setIfa(InFileAddress ifa) { 36 super.setIfa(ifa); 37 this.ifa.setFileIndex(JalistoProperties.INDEXES_INDEX); 38 } 39 40 protected String pageName() { 41 return "NoP"; 42 } 43 44 public JalistoObject getClone() { 45 return internalClone(new NodePage(getSize(), getPid())); 46 } 47 48 public static final short DEFAULT_SIZE = 20; 49 50 static final long serialVersionUID = -7589374877964761459L; 51 } 52 | Popular Tags |