public class StorageClient extends Object
| Constructor and Description |
|---|
StorageClient(String owner,
AccessType accessType,
MemoryType memory)
Constructor created for external use
|
StorageClient(String serviceClass,
String serviceName,
String owner,
AccessType accessType)
Constructor without optional argument created for gcube infrastructure internal use
|
StorageClient(String serviceClass,
String serviceName,
String owner,
AccessType accessType,
MemoryType memory)
Constructor with optional argument memoryType
|
StorageClient(String serviceClass,
String serviceName,
String owner,
AccessType accessType,
MemoryType memory,
String server)
Constructor with optional arguments server and memory
|
StorageClient(String serviceClass,
String serviceName,
String owner,
AccessType accessType,
String scope,
boolean forceScope)
Deprecated.
|
StorageClient(String serviceClass,
String serviceName,
String owner,
String server,
AccessType accessType)
Constructor with optional argument server
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBackendType() |
org.gcube.contentmanagement.blobstorage.service.IClient |
getClient()
Get Instance remote client - storage-manager-core
|
String |
getClientID() |
String |
getCurrentScope() |
MemoryType |
getMemoryType() |
String |
getOwner() |
String |
getRRScope() |
String |
getScopeString() |
String |
getServer() |
String |
getServiceClass() |
String |
getServiceName() |
AccessType |
getTypeAccess() |
String |
getVolatileHost() |
void |
setBackendType(String backendType) |
void |
setClientID(String clientID) |
void |
setCurrentScope(String currentScope) |
void |
setMemoryType(MemoryType memoryType) |
void |
setOwner(String owner) |
void |
setRRScope(String rRScope) |
void |
setScopeString(String scopeString) |
void |
setServer(String server) |
void |
setServiceClass(String serviceClass) |
void |
setServiceName(String serviceName) |
void |
setTypeAccess(AccessType typeAccess) |
void |
setVolatileHost(String volatileHost) |
@Deprecated public StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType, String scope, boolean forceScope)
ServiceClass - ServiceName - owner - typeAccess - scope - scope identifierforceScope - if true the scope used is the scope specified in scope parameter, else the scope specified in the parameter scope is used only for discovering the RuntimeResourcepublic StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType)
ServiceClass - ServiceName - owner - typeAccess - scope - public StorageClient(String owner, AccessType accessType, MemoryType memory)
owner - typeAccess - memory - defines the kind of memory: VOLATILE or PERSISTENTscope - public StorageClient(String serviceClass, String serviceName, String owner, String server, AccessType accessType)
ServiceClass - ServiceName - owner - typeAccess - scope - server: - define the mongoDBserverpublic StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType, MemoryType memory)
ServiceClass - ServiceName - owner - typeAccess - memory - defines the kind of memory: VOLATILE or PERSISTENTscope - public StorageClient(String serviceClass, String serviceName, String owner, AccessType accessType, MemoryType memory, String server)
ServiceClass - ServiceName - owner - typeAccess - memory - defines the kind of memory: VOLATILE or PERSISTENTserver: - define the mongoDBserverscope - public org.gcube.contentmanagement.blobstorage.service.IClient getClient()
IllegalStateException - if the resource is not found on the ISpublic String getClientID()
public void setClientID(String clientID)
public AccessType getTypeAccess()
public void setTypeAccess(AccessType typeAccess)
public MemoryType getMemoryType()
public void setMemoryType(MemoryType memoryType)
public String getServiceClass()
public void setServiceClass(String serviceClass)
public String getServiceName()
public void setServiceName(String serviceName)
public String getOwner()
public void setOwner(String owner)
public String getServer()
public void setServer(String server)
public String getScopeString()
public void setScopeString(String scopeString)
public String getCurrentScope()
public void setCurrentScope(String currentScope)
public String getBackendType()
public void setBackendType(String backendType)
public String getVolatileHost()
public void setVolatileHost(String volatileHost)
public String getRRScope()
public void setRRScope(String rRScope)
Copyright © 2020. All Rights Reserved.