platform-core/platform-cache/src/main/java/org/sunbird/cache/util/RedisCacheUtil.java
public static void deleteFromList(String key, List<String> values) {
        Jedis jedis = getConnection();
        try {
            for (String val : values) {
                jedis.srem(key, val);
            }
        } catch (Exception e) {
            TelemetryManager.error("Exception Occurred While Deleting Partial Data From Redis Cache for Key : " + key + "| Exception is:", e);
            throw new ServerException(CacheErrorCode.ERR_CACHE_DELETE_PROPERTY_ERROR.name(), e.getMessage());
        } finally {
            returnConnection(jedis);
        }
    }
/**
     * This Method Remove Given Data From Existing List For Given Key
     * @param key
     * @param values
     */
This Method Remove Given Data From Existing List For Given Key
@param key
@param values
This Method Remove Given Data From Existing List For Given Key @param key @param values
public static void deleteFromList(String key, List<String> values) {
        Jedis jedis = getConnection();
        try {
            for (String val : values) {
                jedis.srem(key, val);
            }
        } catch (Exception e) {
            TelemetryManager.error("Exception Occurred While Deleting Partial Data From Redis Cache for Key : " + key + "| Exception is:", e);
            throw new ServerException(CacheErrorCode.ERR_CACHE_DELETE_PROPERTY_ERROR.name(), e.getMessage());
        } finally {
            returnConnection(jedis);
        }
    }
public static void deleteFromList ( String key , List < String > values ) { Jedis jedis = getConnection ( ) ; try { for ( String val : values ) { jedis . srem ( key , val ) ; } } catch ( Exception e ) { TelemetryManager . error ( "Exception Occurred While Deleting Partial Data From Redis Cache for Key : " + key + "| Exception is:" , e ) ; throw new ServerException ( CacheErrorCode . ERR_CACHE_DELETE_PROPERTY_ERROR . name ( ) , e . getMessage ( ) ) ; } finally { returnConnection ( jedis ) ; } }
This Method Remove Given Data From Existing List For Given Key
 @param key
 @param values
This Method Remove Given Data From Existing List For Given Key @param key @param values