Exemplo n.º 1
0
 public DatabaseConfig getConfig__wrappee__base() throws DatabaseException {
   DatabaseConfig showConfig = configuration.cloneConfig();
   Comparator btComp = (databaseImpl == null ? null : databaseImpl.getBtreeComparator());
   Comparator dupComp = (databaseImpl == null ? null : databaseImpl.getDuplicateComparator());
   showConfig.setBtreeComparator(btComp == null ? null : btComp.getClass());
   showConfig.setDuplicateComparator(dupComp == null ? null : dupComp.getClass());
   return showConfig;
 }
Exemplo n.º 2
0
 private void init__wrappee__base(Environment env, DatabaseConfig config)
     throws DatabaseException {
   handleLocker = null;
   envHandle = env;
   configuration = config.cloneConfig();
   isWritable = !configuration.getReadOnly();
   state = OPEN;
 }