01: /*
02: * Copyright 2004-2008 H2 Group. Licensed under the H2 License, Version 1.0
03: * (http://h2database.com/html/license.html).
04: * Initial Developer: H2 Group
05: */
06: package org.h2.util;
07:
08: import java.sql.SQLException;
09:
10: import org.h2.store.DataPage;
11:
12: /**
13: * The head element of the linked list.
14: */
15: public class CacheHead extends CacheObject {
16:
17: public int getByteCount(DataPage dummy) throws SQLException {
18: return 0;
19: }
20:
21: public void write(DataPage buff) throws SQLException {
22: }
23:
24: public boolean canRemove() {
25: return false;
26: }
27:
28: }
|