# RedisGetCluster

Returns the Redis Cache Cluster provider by name.

## Method Signature

```
RedisGetCluster(cacheName=[any])
```

### Arguments

| Argument    | Type  | Required | Description                         | Default |
| ----------- | ----- | -------- | ----------------------------------- | ------- |
| `cacheName` | `any` | `true`   | The name of the redis cache to get. |         |

## Examples

Get a Redis cluster instance for cache operations:

```js
// 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" );
}
```

Access cluster information:

```js
// Get cluster and perform cluster-specific operations
var cluster = RedisGetCluster( "myRedisCache" );

// Get cluster info
var info = cluster.clusterInfo();
println( info );
```

## Related

* [RedisGetProvider()](https://boxlang.ortusbooks.com/boxlang-framework/boxlang-plus/modules/bx-redis/reference/built-in-functions/redisgetprovider) - Get the Redis cache provider
* [RedisGetConnectionPool()](https://boxlang.ortusbooks.com/boxlang-framework/boxlang-plus/modules/bx-redis/reference/built-in-functions/redisgetconnectionpool) - Get the connection pool
* [RedisGetClusterNodes()](https://boxlang.ortusbooks.com/boxlang-framework/boxlang-plus/modules/bx-redis/reference/built-in-functions/redisgetclusternodes) - Get cluster node information
* [API Usage Guide](https://boxlang.ortusbooks.com/boxlang-framework/boxlang-plus/modules/bx-redis/api-usage) - Redis API documentation
