private int getEvictableSize() { final int size = size(); if (size < 1) { return 0; } final int evictableSize = EvictionHelper.getEvictableSize(size, mapContainer.getMapConfig(), mapServiceContext); if (evictableSize < 1) { return 0; } return evictableSize; }
private boolean isEvictable() { return EvictionHelper.checkEvictable(mapContainer); }