private Optional < ChannelInstance > findByName ( final String name ) { if ( name == null ) { return empty ( ) ; } final String id = this . manager . accessCall ( KEY_STORAGE , ChannelServiceAccess . class , channels -> { return channels . mapToId ( name ) ; } ) ; return findById ( id ) ; }
Find a channel by name