KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > daffodilwoods > daffodildb > server > datasystem > interfaces > _ClusterProvider


1 package com.daffodilwoods.daffodildb.server.datasystem.interfaces;
2
3 import com.daffodilwoods.daffodildb.server.datasystem.persistentsystem.*;
4 import com.daffodilwoods.database.resource.DException;
5 import com.daffodilwoods.daffodildb.server.datasystem.indexsystem.FixedBTreeCluster;
6 import com.daffodilwoods.daffodildb.server.datasystem.persistentsystem.versioninfo.VersionHandler;
7
8 public interface _ClusterProvider {
9
10     Cluster getNewCluster(_DatabaseUser user)throws DException;
11     Cluster getCluster(_DatabaseUser user, ClusterCharacteristics cc)throws DException;
12     Cluster getReadCluster(ClusterCharacteristics cc)throws DException;
13     ClusterCharacteristics getControlCluster(_DatabaseUser user)throws DException;
14     public void addFreeCluster(_DatabaseUser user, int address)throws DException;
15     public VersionHandler getVersionHandler();
16     void updateWriteClusters(Cluster cluster) throws DException;
17 }
18
Popular Tags