Package cn.ucloud.umem.client
Class UMemClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.umem.client.UMemClient
-
- All Implemented Interfaces:
Client,UMemClientInterface
public class UMemClient extends DefaultClient implements UMemClientInterface
This client is used to call actions of **UMem** service
-
-
Constructor Summary
Constructors Constructor Description UMemClient(Config config, Credential credential)
-
Method Summary
-
Methods inherited from class cn.ucloud.common.client.DefaultClient
getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
-
-
-
Constructor Detail
-
UMemClient
public UMemClient(Config config, Credential credential)
-
-
Method Detail
-
checkUDredisSpaceAllowance
public CheckUDredisSpaceAllowanceResponse checkUDredisSpaceAllowance(CheckUDredisSpaceAllowanceRequest request) throws UCloudException
CheckUDredisSpaceAllowance - 检查高性能UMem剩余资源- Specified by:
checkUDredisSpaceAllowancein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
checkURedisAllowance
public CheckURedisAllowanceResponse checkURedisAllowance(CheckURedisAllowanceRequest request) throws UCloudException
CheckURedisAllowance - 检查URedis资源是否足够- Specified by:
checkURedisAllowancein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUMemBackup
public CreateUMemBackupResponse createUMemBackup(CreateUMemBackupRequest request) throws UCloudException
CreateUMemBackup - 创建分布式redis备份- Specified by:
createUMemBackupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUMemSpace
public CreateUMemSpaceResponse createUMemSpace(CreateUMemSpaceRequest request) throws UCloudException
CreateUMemSpace - 创建内存空间- Specified by:
createUMemSpacein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUMemcacheGroup
public CreateUMemcacheGroupResponse createUMemcacheGroup(CreateUMemcacheGroupRequest request) throws UCloudException
CreateUMemcacheGroup - 创建单机Memcache- Specified by:
createUMemcacheGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createURedisBackup
public CreateURedisBackupResponse createURedisBackup(CreateURedisBackupRequest request) throws UCloudException
CreateURedisBackup - 创建主备Redis备份- Specified by:
createURedisBackupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createURedisGroup
public CreateURedisGroupResponse createURedisGroup(CreateURedisGroupRequest request) throws UCloudException
CreateURedisGroup - 创建主备redis- Specified by:
createURedisGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUMemSpace
public DeleteUMemSpaceResponse deleteUMemSpace(DeleteUMemSpaceRequest request) throws UCloudException
DeleteUMemSpace - 删除空间- Specified by:
deleteUMemSpacein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUMemcacheGroup
public DeleteUMemcacheGroupResponse deleteUMemcacheGroup(DeleteUMemcacheGroupRequest request) throws UCloudException
DeleteUMemcacheGroup - 删除单机Memcache- Specified by:
deleteUMemcacheGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteURedisGroup
public DeleteURedisGroupResponse deleteURedisGroup(DeleteURedisGroupRequest request) throws UCloudException
DeleteURedisGroup - 删除主备redis- Specified by:
deleteURedisGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDRedisProxyInfo
public DescribeUDRedisProxyInfoResponse describeUDRedisProxyInfo(DescribeUDRedisProxyInfoRequest request) throws UCloudException
DescribeUDRedisProxyInfo - 拉取udredis代理信息- Specified by:
describeUDRedisProxyInfoin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDRedisSlowlog
public DescribeUDRedisSlowlogResponse describeUDRedisSlowlog(DescribeUDRedisSlowlogRequest request) throws UCloudException
DescribeUDRedisSlowlog - 查询UDRedis慢日志- Specified by:
describeUDRedisSlowlogin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUMem
public DescribeUMemResponse describeUMem(DescribeUMemRequest request) throws UCloudException
DescribeUMem - 获取UMem列表- Specified by:
describeUMemin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUMemBackup
public DescribeUMemBackupResponse describeUMemBackup(DescribeUMemBackupRequest request) throws UCloudException
DescribeUMemBackup - 查询分布式redis备份- Specified by:
describeUMemBackupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUMemBackupURL
public DescribeUMemBackupURLResponse describeUMemBackupURL(DescribeUMemBackupURLRequest request) throws UCloudException
DescribeUMemBackupURL - 获取分布式redis 备份下载链接- Specified by:
describeUMemBackupURLin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUMemBlockInfo
public DescribeUMemBlockInfoResponse describeUMemBlockInfo(DescribeUMemBlockInfoRequest request) throws UCloudException
DescribeUMemBlockInfo - 拉取UDRedis分片信息- Specified by:
describeUMemBlockInfoin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUMemPrice
public DescribeUMemPriceResponse describeUMemPrice(DescribeUMemPriceRequest request) throws UCloudException
DescribeUMemPrice - 获取价格- Specified by:
describeUMemPricein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUMemSpace
public DescribeUMemSpaceResponse describeUMemSpace(DescribeUMemSpaceRequest request) throws UCloudException
DescribeUMemSpace - 查询空间- Specified by:
describeUMemSpacein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUMemUpgradePrice
public DescribeUMemUpgradePriceResponse describeUMemUpgradePrice(DescribeUMemUpgradePriceRequest request) throws UCloudException
DescribeUMemUpgradePrice - 获取升级价格- Specified by:
describeUMemUpgradePricein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUMemcacheGroup
public DescribeUMemcacheGroupResponse describeUMemcacheGroup(DescribeUMemcacheGroupRequest request) throws UCloudException
DescribeUMemcacheGroup - 显示Memcache- Specified by:
describeUMemcacheGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUMemcachePrice
public DescribeUMemcachePriceResponse describeUMemcachePrice(DescribeUMemcachePriceRequest request) throws UCloudException
DescribeUMemcachePrice - 获取umemcache组价格- Specified by:
describeUMemcachePricein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUMemcacheUpgradePrice
public DescribeUMemcacheUpgradePriceResponse describeUMemcacheUpgradePrice(DescribeUMemcacheUpgradePriceRequest request) throws UCloudException
DescribeUMemcacheUpgradePrice - 获取umemcache升级价格- Specified by:
describeUMemcacheUpgradePricein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeURedisBackup
public DescribeURedisBackupResponse describeURedisBackup(DescribeURedisBackupRequest request) throws UCloudException
DescribeURedisBackup - 查询主备redis备份- Specified by:
describeURedisBackupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeURedisBackupURL
public DescribeURedisBackupURLResponse describeURedisBackupURL(DescribeURedisBackupURLRequest request) throws UCloudException
DescribeURedisBackupURL - 获取主备Redis备份下载链接- Specified by:
describeURedisBackupURLin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeURedisConfig
public DescribeURedisConfigResponse describeURedisConfig(DescribeURedisConfigRequest request) throws UCloudException
DescribeURedisConfig - 查询主备Redis所有配置文件- Specified by:
describeURedisConfigin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeURedisGroup
public DescribeURedisGroupResponse describeURedisGroup(DescribeURedisGroupRequest request) throws UCloudException
DescribeURedisGroup - 查询主备Redis- Specified by:
describeURedisGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeURedisPrice
public DescribeURedisPriceResponse describeURedisPrice(DescribeURedisPriceRequest request) throws UCloudException
DescribeURedisPrice - 取uredis价格信息- Specified by:
describeURedisPricein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeURedisSlowlog
public DescribeURedisSlowlogResponse describeURedisSlowlog(DescribeURedisSlowlogRequest request) throws UCloudException
DescribeURedisSlowlog - 查询URedis慢日志- Specified by:
describeURedisSlowlogin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeURedisUpgradePrice
public DescribeURedisUpgradePriceResponse describeURedisUpgradePrice(DescribeURedisUpgradePriceRequest request) throws UCloudException
DescribeURedisUpgradePrice - 获取uredis升级价格信息- Specified by:
describeURedisUpgradePricein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeURedisVersion
public DescribeURedisVersionResponse describeURedisVersion(DescribeURedisVersionRequest request) throws UCloudException
DescribeURedisVersion - 获取主Redis可用版本- Specified by:
describeURedisVersionin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
flushallURedisGroup
public FlushallURedisGroupResponse flushallURedisGroup(FlushallURedisGroupRequest request) throws UCloudException
FlushallURedisGroup - 清除主备redis数据- Specified by:
flushallURedisGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUMemSpaceState
public GetUMemSpaceStateResponse getUMemSpaceState(GetUMemSpaceStateRequest request) throws UCloudException
GetUMemSpaceState - 获取空间状态- Specified by:
getUMemSpaceStatein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
iSolationURedisGroup
public ISolationURedisGroupResponse iSolationURedisGroup(ISolationURedisGroupRequest request) throws UCloudException
ISolationURedisGroup - 打开/关闭URedis- Specified by:
iSolationURedisGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUMemSpaceName
public ModifyUMemSpaceNameResponse modifyUMemSpaceName(ModifyUMemSpaceNameRequest request) throws UCloudException
ModifyUMemSpaceName - 修改名称- Specified by:
modifyUMemSpaceNamein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyURedisConfig
public ModifyURedisConfigResponse modifyURedisConfig(ModifyURedisConfigRequest request) throws UCloudException
ModifyURedisConfig - 修改主备Redis配置文件参数- Specified by:
modifyURedisConfigin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyURedisGroupName
public ModifyURedisGroupNameResponse modifyURedisGroupName(ModifyURedisGroupNameRequest request) throws UCloudException
ModifyURedisGroupName - 修改名称- Specified by:
modifyURedisGroupNamein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyURedisGroupPassword
public ModifyURedisGroupPasswordResponse modifyURedisGroupPassword(ModifyURedisGroupPasswordRequest request) throws UCloudException
ModifyURedisGroupPassword - 修改主备密码- Specified by:
modifyURedisGroupPasswordin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
removeUDRedisData
public RemoveUDRedisDataResponse removeUDRedisData(RemoveUDRedisDataRequest request) throws UCloudException
RemoveUDRedisData - 清除udredis实例数据- Specified by:
removeUDRedisDatain interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
resizeUMemSpace
public ResizeUMemSpaceResponse resizeUMemSpace(ResizeUMemSpaceRequest request) throws UCloudException
ResizeUMemSpace - 调整容量- Specified by:
resizeUMemSpacein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
resizeURedisGroup
public ResizeURedisGroupResponse resizeURedisGroup(ResizeURedisGroupRequest request) throws UCloudException
ResizeURedisGroup - 调整容量- Specified by:
resizeURedisGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
restartUMemcacheGroup
public RestartUMemcacheGroupResponse restartUMemcacheGroup(RestartUMemcacheGroupRequest request) throws UCloudException
RestartUMemcacheGroup - 重启单机Memcache- Specified by:
restartUMemcacheGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
restartURedisGroup
public RestartURedisGroupResponse restartURedisGroup(RestartURedisGroupRequest request) throws UCloudException
RestartURedisGroup - 重启主备实例- Specified by:
restartURedisGroupin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateURedisBackupStrategy
public UpdateURedisBackupStrategyResponse updateURedisBackupStrategy(UpdateURedisBackupStrategyRequest request) throws UCloudException
UpdateURedisBackupStrategy - 更改主备Redis备份策略- Specified by:
updateURedisBackupStrategyin interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateURedisRewriteTime
public UpdateURedisRewriteTimeResponse updateURedisRewriteTime(UpdateURedisRewriteTimeRequest request) throws UCloudException
UpdateURedisRewriteTime - 修改主备redis重写时间- Specified by:
updateURedisRewriteTimein interfaceUMemClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-