@Override
    public void delete(final long indexShardId) {
        indexShardDao.logicalDelete(indexShardId);
        LOGGER.debug(() -> "Deleted " + indexShardId);
        cache.invalidate(indexShardId);
        cache.evictExpiredElements();
    }
This is called by the lifecycle service and remove writers that are past their TTL, TTI or LRU
items that exceed the capacity.
stroom-index/stroom-index-impl/src/main/java/stroom/index/impl/IndexShardWriterCacheImpl.java