private static short getEvictionPolicyValueFromString(
			String exPolicyAsString) {
		if (exPolicyAsString == null) {
			return CacheEvictionPolicyType.RANDOM_POLICY;
		}
		if (exPolicyAsString.equalsIgnoreCase("random")) {
			return CacheEvictionPolicyType.RANDOM_POLICY;
		} else if (exPolicyAsString.equalsIgnoreCase("fifo")) {
			return CacheEvictionPolicyType.FIFO_POLICY;
		} else if (exPolicyAsString.equalsIgnoreCase("lfu")) {
			return CacheEvictionPolicyType.LFU_POLICY;
		} else if (exPolicyAsString.equalsIgnoreCase("lru")) {
			return CacheEvictionPolicyType.LRU_POLICY;
		} else if (exPolicyAsString.equalsIgnoreCase("nfu")) {
			return CacheEvictionPolicyType.NFU_POLICY;
		} else if (exPolicyAsString.equalsIgnoreCase("nru")) {
			return CacheEvictionPolicyType.NRU_POLICY;
		}
		return CacheEvictionPolicyType.RANDOM_POLICY;
	}