1 25 package org.ofbiz.base.util.cache; 26 27 import java.io.IOException ; 28 29 36 public class JdbmRecordManager extends jdbm.recman.BaseRecordManager { 37 38 protected jdbm.helper.Serializer serial = null; 39 40 public JdbmRecordManager(String name) throws IOException { 41 super(name); 42 serial = new JdbmSerializer(); 43 } 44 45 public long insert(Object o) throws IOException { 46 return this.insert(o, serial); 47 } 48 49 public void update(long l, Object o) throws IOException { 50 this.update(l, o, serial); 51 } 52 53 public Object fetch(long l) throws IOException { 54 return this.fetch(l, serial); 55 } 56 } 57 | Popular Tags |