public class StorageAccountManager extends Object
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
log |
Constructor and Description |
---|
StorageAccountManager() |
Modifier and Type | Method and Description |
---|---|
String |
getAccountName() |
String |
getInstanceHost() |
String |
getInstancePort() |
StorageAccount |
getPrimaryStorageAccount() |
StorageAccount |
getStorageAccount(String storageProviderId) |
Iterator<String> |
getStorageAccountIds() |
Map<String,StorageAccount> |
getStorageAccounts() |
void |
initialize(List<StorageAccount> accts)
Initializes the account manager based on provided accounts
|
boolean |
isInitialized() |
void |
setEnvironment(String instanceHost,
String instancePort) |
public void initialize(List<StorageAccount> accts) throws StorageException
accts
- StorageException
public String getInstanceHost()
public String getInstancePort()
public String getAccountName()
public StorageAccount getPrimaryStorageAccount()
public StorageAccount getStorageAccount(String storageProviderId)
public Map<String,StorageAccount> getStorageAccounts()
public boolean isInitialized() throws StorageException
StorageException
Copyright © 2009–2014 DuraSpace. All rights reserved.