RedisGetCluster
Method Signature
RedisGetCluster(cacheName=[any])Arguments
Argument
Type
Required
Description
Default
Examples
// Get the cluster from a Redis cache
var cluster = RedisGetCluster( "myRedisCache" );
// Check if it's a cluster
if ( cluster != null ) {
println( "Successfully retrieved Redis cluster" );
}// Get cluster and perform cluster-specific operations
var cluster = RedisGetCluster( "myRedisCache" );
// Get cluster info
var info = cluster.clusterInfo();
println( info );Related
Last updated
Was this helpful?
