|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozenode.database.DatabaseFactory
public final class DatabaseFactory
Database factory.
Method Summary | |
---|---|
static GroupLeaderRepository |
newGroupLeaderRepository(String virtualMachineSubnet,
int maxCapacity,
DatabaseType type)
Returns the group leader repository. |
static GroupManagerRepository |
newGroupManagerRepository(String groupManagerId,
int maxCapacity,
DatabaseType type)
Returns the group manager repository. |
static LocalControllerRepository |
newLocalControllerRepository(DatabaseType type)
Returns the local controller repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static GroupLeaderRepository newGroupLeaderRepository(String virtualMachineSubnet, int maxCapacity, DatabaseType type)
virtualMachineSubnet
- The virtual machine subnetmaxCapacity
- The maximum capacitytype
- The database type
public static GroupManagerRepository newGroupManagerRepository(String groupManagerId, int maxCapacity, DatabaseType type)
groupManagerId
- The group manager identifiermaxCapacity
- The maximum capacitytype
- The database type
public static LocalControllerRepository newLocalControllerRepository(DatabaseType type)
type
- The database type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |