public class DeviceController extends Object implements Serializable
Constructor and Description |
---|
DeviceController() |
DeviceController(String blobStoreDevicesMappingDir,
boolean isCentralDevice) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getDevicesArray(String devicesArray) |
String |
getFullDevicesFileName() |
int |
getNumberOfBackups() |
int |
getNumberOfPartitions() |
String |
getSpaceDevice(String spaceName) |
FreeDevice |
insertIfAbsent(String spaceName,
List<String> devices) |
boolean |
remove(String spaceName) |
void |
setNumberOfBackups(int numberOfBackups) |
void |
setNumberOfPartitions(int numberOfPartitions) |
void |
setSpaceStorageConsistencyMode(String spaceName,
StorageConsistencyModes storageConsistencyModes) |
public DeviceController()
public DeviceController(String blobStoreDevicesMappingDir, boolean isCentralDevice)
public int getNumberOfPartitions()
public void setNumberOfPartitions(int numberOfPartitions)
public int getNumberOfBackups()
public void setNumberOfBackups(int numberOfBackups)
public String getFullDevicesFileName()
public boolean remove(String spaceName)
public FreeDevice insertIfAbsent(String spaceName, List<String> devices)
public void setSpaceStorageConsistencyMode(String spaceName, StorageConsistencyModes storageConsistencyModes)
Copyright © GigaSpaces.