@Test public void testGeneratedSessionIdLength() { when(propertyChain.getProperty((TRACEE_DEFAULT_PROFILE_PREFIX + GENERATE_SESSION_ID))).thenReturn("42"); assertThat(unit.generatedSessionIdLength(), equalTo(42)); }
@Override public int generatedSessionIdLength() { return parseIntOrZero(getProfiledOrDefaultProperty(GENERATE_SESSION_ID)); }
PropertiesBasedTraceeFilterConfiguration implements TraceeFilterConfiguration { @Override public int generatedSessionIdLength() { return parseIntOrZero(getProfiledOrDefaultProperty(GENERATE_SESSION_ID)); } }
PropertiesBasedTraceeFilterConfiguration implements TraceeFilterConfiguration { @Override public int generatedSessionIdLength() { return parseIntOrZero(getProfiledOrDefaultProperty(GENERATE_SESSION_ID)); } PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain);  PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain,
													String profileName); }
PropertiesBasedTraceeFilterConfiguration implements TraceeFilterConfiguration { @Override public int generatedSessionIdLength() { return parseIntOrZero(getProfiledOrDefaultProperty(GENERATE_SESSION_ID)); } PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain);  PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain,
													String profileName); static PropertyChain loadPropertyChain(); @Override boolean shouldProcessParam(String paramName, Channel channel); @Override boolean shouldProcessContext(final Channel channel); @Override boolean shouldGenerateInvocationId(); @Override int generatedInvocationIdLength(); @Override boolean shouldGenerateSessionId(); @Override int generatedSessionIdLength(); @Override Map<String, String> filterDeniedParams(final Map<String, String> unfiltered, final Channel channel); }
PropertiesBasedTraceeFilterConfiguration implements TraceeFilterConfiguration { @Override public int generatedSessionIdLength() { return parseIntOrZero(getProfiledOrDefaultProperty(GENERATE_SESSION_ID)); } PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain);  PropertiesBasedTraceeFilterConfiguration(PropertyChain propertyChain,
													String profileName); static PropertyChain loadPropertyChain(); @Override boolean shouldProcessParam(String paramName, Channel channel); @Override boolean shouldProcessContext(final Channel channel); @Override boolean shouldGenerateInvocationId(); @Override int generatedInvocationIdLength(); @Override boolean shouldGenerateSessionId(); @Override int generatedSessionIdLength(); @Override Map<String, String> filterDeniedParams(final Map<String, String> unfiltered, final Channel channel);  }