public ServiceInstanceEntity get ( final String serviceId ) { try { return serviceCache . get ( serviceId , ( ) -> dao . getById ( serviceId ) ) ; } catch ( Exception e ) { throw new RuntimeException ( "Error loading service: " + serviceId , e ) ; } }
Get service information reading from cache if possible