RedisGetProvider
Method Signature
RedisGetProvider(cacheName=[any])Arguments
Argument
Type
Required
Description
Default
Examples
// Retrieve the provider for a named Redis cache
var provider = RedisGetProvider( "myRedisCache" );
// Check if provider is available
if ( provider != null ) {
println( "Successfully retrieved Redis provider" );
}// Get the provider
var provider = RedisGetProvider( "myRedisCache" );
// Access provider capabilities
var cacheConfig = provider.getCacheConfig();
println( "Provider type: " & cacheConfig.type );
println( "Host: " & cacheConfig.host );
println( "Port: " & cacheConfig.port );Related
Last updated
Was this helpful?
