KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > h2 > util > Cache


1 /*
2  * Copyright 2004-2006 H2 Group. Licensed under the H2 License, Version 1.0 (http://h2database.com/html/license.html).
3  * Initial Developer: H2 Group
4  */

5 package org.h2.util;
6
7 import java.sql.SQLException JavaDoc;
8
9 public interface Cache {
10
11     ObjectArray getAllChanged();
12
13     void clear();
14
15     CacheObject get(int pos);
16
17     void put(CacheObject r) throws SQLException JavaDoc;
18
19     CacheObject update(int pos, CacheObject record) throws SQLException JavaDoc;
20
21     void remove(int pos);
22
23     CacheObject find(int i);
24
25     void setMaxSize(int value) throws SQLException JavaDoc;
26
27     String JavaDoc getTypeName();
28 }
29
Popular Tags