public void addPolicy(final Enum name, final ExpirationPolicy policy) {
        LOGGER.trace("Adding expiration policy [{}] with name [{}]", policy, name);
        addPolicy(name.name(), policy);
    }
public void addPolicy ( final Enum name , final ExpirationPolicy policy ) { LOGGER . trace ( "Adding expiration policy [{}] with name [{}]" , policy , name ) ; addPolicy ( name . name ( ) , policy ) ; }
Add policy.

@param name   the name
@param policy the policy