/*
 * Copyright Terracotta, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.ehcache.config;

/**
 * A specialized {@link Predicate} used to veto eviction of cache entries.
 *
 * @param <K> the type of the keys used to access data within the cache
 * @param <V> the type of the values held within the cache
 *
 * @author Alex Snaps
 */
public interface EvictionVeto<K, V> {

  /**
   * Returns {@code true} if the given key value pair should be vetoed from eviction.
   * 
   * @param key the entry key 
   * @param value the entry value
   * @return {@code true} if eviction should be avoided
   */
  boolean vetoes(K key, V value);
}

@@ -643,24 +643,17 @@
 zed 
-%7B@link P
+p
 redicate
 %7D us
@@ -648,17 +648,16 @@
 redicate
-%7D
  used to

fix EvictionVeto javadoc