public ConcurrentMap<Principal, DomainInfo> getCache() {
        return new LRUCache<>(1000, (key, value) -> {
            if (value != null) {
                value.logout();
            }
        });
    }
public ConcurrentMap<Principal, DomainInfo> getCache() {
        return new LRUCache<>(1000, (key, value) -> {
            if (value != null) {
                value.logout();
            }
        });
    }
public ConcurrentMap < Principal , DomainInfo > getCache ( ) { return new LRUCache <> ( 1000 , ( key , value ) -> { if ( value != null ) { value . logout ( ) ; } } ) ; }
Returns a default cache implementation

@return cache implementation
Returns a default cache implementation