@Test public void testIsMonitoredException() throws Exception { doThrow(new IOException()).when(registry).getContextPreferences(pirasoRequest); assertFalse(context.isMonitored()); }
public boolean isMonitored() { try { return CollectionUtils.isNotEmpty(registry.getContextPreferences(entryPoint)); } catch (IOException e) { return false; } }
PirasoContext implements ContextPreference { public boolean isMonitored() { try { return CollectionUtils.isNotEmpty(registry.getContextPreferences(entryPoint)); } catch (IOException e) { return false; } } }
PirasoContext implements ContextPreference { public boolean isMonitored() { try { return CollectionUtils.isNotEmpty(registry.getContextPreferences(entryPoint)); } catch (IOException e) { return false; } } PirasoContext(PirasoEntryPoint entryPoint);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref); private  PirasoContext(long requestId, PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref, GroupChainId refGroupChainId); }
PirasoContext implements ContextPreference { public boolean isMonitored() { try { return CollectionUtils.isNotEmpty(registry.getContextPreferences(entryPoint)); } catch (IOException e) { return false; } } PirasoContext(PirasoEntryPoint entryPoint);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref); private  PirasoContext(long requestId, PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref, GroupChainId refGroupChainId); PirasoContext createChildContext(GroupChainId chainId); void setIndent(int indent); int getIndent(); void addProperty(Class<?> clazz, String name, Object value); void removeProperty(Class<?> clazz, String name); Object getProperty(Class<?> clazz, String name); Long getRequestId(); ReferenceRequestEntry getRef(); PirasoEntryPoint getEntryPoint(); boolean isMonitored(); boolean isRegexEnabled(String property); boolean isEnabled(String property); Integer getIntValue(String property); void log(Level level, GroupChainId id, Entry entry); }
PirasoContext implements ContextPreference { public boolean isMonitored() { try { return CollectionUtils.isNotEmpty(registry.getContextPreferences(entryPoint)); } catch (IOException e) { return false; } } PirasoContext(PirasoEntryPoint entryPoint);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry);  PirasoContext(PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref); private  PirasoContext(long requestId, PirasoEntryPoint entryPoint, LoggerRegistry registry, ReferenceRequestEntry ref, GroupChainId refGroupChainId); PirasoContext createChildContext(GroupChainId chainId); void setIndent(int indent); int getIndent(); void addProperty(Class<?> clazz, String name, Object value); void removeProperty(Class<?> clazz, String name); Object getProperty(Class<?> clazz, String name); Long getRequestId(); ReferenceRequestEntry getRef(); PirasoEntryPoint getEntryPoint(); boolean isMonitored(); boolean isRegexEnabled(String property); boolean isEnabled(String property); Integer getIntValue(String property); void log(Level level, GroupChainId id, Entry entry); static final String INDENT_PROPERTY; }