KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ozoneDB > core > storage > classicStore > ClassicTransaction


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Core License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by SMB are
5
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
6
//
7
// $Id$
8

9 package org.ozoneDB.core.storage.classicStore;
10
11 import org.ozoneDB.DxLib.DxHashMap;
12 import org.ozoneDB.DxLib.DxMap;
13 import org.ozoneDB.core.Env;
14 import org.ozoneDB.core.Transaction;
15 import org.ozoneDB.core.User;
16
17 /**
18  * @version $Id $
19  */

20 public class ClassicTransaction extends Transaction {
21
22     public final static int DEFAULT_TABLE_SIZE = 1024;
23
24     protected DxMap idTable;
25
26     public ClassicTransaction(Env env, User owner) {
27         super(env, owner);
28         idTable = new DxHashMap(DEFAULT_TABLE_SIZE);
29     }
30
31 }
32
Popular Tags