RedisCachePremium Interface
Implements
public interface RedisCachePremium
extends RedisCache
An immutable client-side representation of an Azure Redis cache with Premium SKU.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract String |
addLinkedServer(String linkedRedisCacheId, String linkedServerLocation, ReplicationRole role)
Adds a linked server to the current Redis cache instance. |
abstract void |
deletePatchSchedule()
Deletes the patching schedule for Redis Cache. |
abstract void |
exportData(String containerSASUrl, String prefix)
Export data from Redis Cache. |
abstract void |
exportData(String containerSASUrl, String prefix, String fileFormat)
Export data from Redis Cache. |
abstract void |
forceReboot(RebootType rebootType, int shardId)
Reboot specified Redis node(s). |
abstract
Replication |
getLinkedServerRole(String linkedServerName)
Gets the role for the linked server of the current Redis cache instance. |
abstract void |
importData(List<String> files)
Import data into Redis Cache. |
abstract void |
importData(List<String> files, String fileFormat)
Import data into Redis Cache. |
abstract
Map<String,Replication |
listLinkedServers()
Gets the list of linked servers associated with this redis cache. |
abstract
List<Schedule |
listPatchSchedules()
Gets the patching schedule for Redis Cache. |
abstract void |
removeLinkedServer(String linkedServerName)
Removes the linked server from the current Redis cache instance. |
Method Details
addLinkedServer
public abstract String addLinkedServer(String linkedRedisCacheId, String linkedServerLocation, ReplicationRole role)
Adds a linked server to the current Redis cache instance.
Parameters:
Returns:
deletePatchSchedule
public abstract void deletePatchSchedule()
Deletes the patching schedule for Redis Cache.
exportData
public abstract void exportData(String containerSASUrl, String prefix)
Export data from Redis Cache.
Parameters:
exportData
public abstract void exportData(String containerSASUrl, String prefix, String fileFormat)
Export data from Redis Cache.
Parameters:
forceReboot
public abstract void forceReboot(RebootType rebootType, int shardId)
Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.
Parameters:
getLinkedServerRole
public abstract ReplicationRole getLinkedServerRole(String linkedServerName)
Gets the role for the linked server of the current Redis cache instance.
Parameters:
Returns:
importData
public abstract void importData(List
Import data into Redis Cache.
Parameters:
importData
public abstract void importData(List
Import data into Redis Cache.
Parameters:
listLinkedServers
public abstract Map
Gets the list of linked servers associated with this redis cache.
Returns:
listPatchSchedules
public abstract List
Gets the patching schedule for Redis Cache.
Returns:
removeLinkedServer
public abstract void removeLinkedServer(String linkedServerName)
Removes the linked server from the current Redis cache instance.
Parameters:
Applies to
Azure SDK for Java