@Nonnull
    protected Map<MessageKey, Optional<String>> buildMessageCache() {
        return new ConcurrentLinkedHashMap.Builder<MessageKey, Optional<String>>()
                .maximumWeightedCapacity(100)
                .build();
    }
@ Nonnull protected Map < MessageKey , Optional < String > > buildMessageCache ( ) { return new ConcurrentLinkedHashMap . Builder < MessageKey , Optional < String > > ( ) . maximumWeightedCapacity ( 100 ) . build ( ) ; }
Build the cache used to store resolved messages.
@return The cache.