Main Page | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Related Pages

db_java.java

00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 1.3.25
00004  *
00005  * Do not make changes to this file unless you know what you are doing--modify
00006  * the SWIG interface file instead.
00007  * ----------------------------------------------------------------------------- */
00008 
00009 package com.sleepycat.db.internal;
00010 
00011 /* package */ class db_java {
00012   public static void DbEnv_lock_vec(DbEnv dbenv, int locker, int flags, com.sleepycat.db.LockRequest[] list, int offset, int nlist) throws com.sleepycat.db.DatabaseException {
00013     db_javaJNI.DbEnv_lock_vec(DbEnv.getCPtr(dbenv), locker, flags, list, offset, nlist);
00014   }
00015 
00016   /* package */ static long initDbEnvRef0(DbEnv self, Object handle) {
00017     return db_javaJNI.initDbEnvRef0(DbEnv.getCPtr(self), handle);
00018   }
00019 
00020   /* package */ static long initDbRef0(Db self, Object handle) {
00021     return db_javaJNI.initDbRef0(Db.getCPtr(self), handle);
00022   }
00023 
00024   /* package */ static void deleteRef0(long ref) {
00025     db_javaJNI.deleteRef0(ref);
00026   }
00027 
00028   /* package */ static DbEnv getDbEnv0(Db self) {
00029     long cPtr = db_javaJNI.getDbEnv0(Db.getCPtr(self));
00030     return (cPtr == 0) ? null : new DbEnv(cPtr, false);
00031   }
00032 
00033 }

Generated on Sun Dec 25 12:14:32 2005 for Berkeley DB 4.4.16 by  doxygen 1.4.2