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 LeafPage extends UserPage { 31 public LeafPage(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 "LeP"; 42 } 43 44 public JalistoObject getClone() { 45 return internalClone(new LeafPage(getSize(), getPid())); 46 } 47 48 public static final short DEFAULT_SIZE = 20; 49 50 static final long serialVersionUID = -7669377097964761459L; 51 } 52 | Popular Tags |