test_class.declarator: executors
test_class.modifier: private
test_class.original_string: private ExecutorFacade executors;
test_class.type: ExecutorFacade
test_class.var_name: executors
test_class.declarator: factory
test_class.modifier: private
test_class.original_string: private SessionFactory factory;
test_class.type: SessionFactory
test_class.var_name: factory
test_class.declarator: repository
test_class.modifier: private
test_class.original_string: private SessionRepository repository;
test_class.type: SessionRepository
test_class.var_name: repository
test_class.declarator: tracking
test_class.modifier: private
test_class.original_string: private SessionTracking tracking;
test_class.type: SessionTracking
test_class.var_name: tracking
test_class.declarator: notifier
test_class.modifier: private
test_class.original_string: private SessionNotifier notifier;
test_class.type: SessionNotifier
test_class.var_name: notifier
test_class.declarator: configuration
test_class.modifier: private
test_class.original_string: private SessionConfiguration configuration;
test_class.type: SessionConfiguration
test_class.var_name: configuration
test_class.declarator: sessionManager
test_class.modifier: private
test_class.original_string: private SessionManager sessionManager;
test_class.type: SessionManager
test_class.var_name: sessionManager
test_class.declarator: metrics
test_class.modifier: private
test_class.original_string: private MetricRegistry metrics;
test_class.type: MetricRegistry
test_class.var_name: metrics
test_class.file: session-replacement/src/test/java/com/amadeus/session/TestSessionManager.java
test_class.identifier: TestSessionManager
test_case.body: @Test
    public void testSubmit() {
      Runnable runnable = mock(Runnable.class);
      sessionManager.submit(null, runnable);
      verify(executors).submit(runnable);
    }
test_case.class_method_signature: TestSessionManager.testSubmit()
test_case.full_signature: @Test public void testSubmit()
test_case.identifier: testSubmit
test_case.invocations: mock submit submit verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSubmit()
focal_class.declarator: logger = LoggerFactory.getLogger(SessionManager.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(SessionManager.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: SESSIONS_METRIC_PREFIX = "com.amadeus.session"
focal_class.modifier: static final
focal_class.original_string: static final String SESSIONS_METRIC_PREFIX = "com.amadeus.session";
focal_class.type: String
focal_class.var_name: SESSIONS_METRIC_PREFIX
focal_class.declarator: COMMIT_TIMER_METRIC = name(SESSIONS_METRIC_PREFIX, "timer", "commit")
focal_class.modifier: private static final
focal_class.original_string: private static final String COMMIT_TIMER_METRIC = name(SESSIONS_METRIC_PREFIX, "timer", "commit");
focal_class.type: String
focal_class.var_name: COMMIT_TIMER_METRIC
focal_class.declarator: FETCH_TIMER_METRIC = name(SESSIONS_METRIC_PREFIX, "timer", "fetch")
focal_class.modifier: private static final
focal_class.original_string: private static final String FETCH_TIMER_METRIC = name(SESSIONS_METRIC_PREFIX, "timer", "fetch");
focal_class.type: String
focal_class.var_name: FETCH_TIMER_METRIC
focal_class.declarator: CREATED_SESSIONS_METRIC = name(SESSIONS_METRIC_PREFIX, "created")
focal_class.modifier: private static final
focal_class.original_string: private static final String CREATED_SESSIONS_METRIC = name(SESSIONS_METRIC_PREFIX, "created");
focal_class.type: String
focal_class.var_name: CREATED_SESSIONS_METRIC
focal_class.declarator: DELETED_SESSIONS_METRIC = name(SESSIONS_METRIC_PREFIX, "deleted")
focal_class.modifier: private static final
focal_class.original_string: private static final String DELETED_SESSIONS_METRIC = name(SESSIONS_METRIC_PREFIX, "deleted");
focal_class.type: String
focal_class.var_name: DELETED_SESSIONS_METRIC
focal_class.declarator: MISSING_SESSIONS_METRIC = name(SESSIONS_METRIC_PREFIX, "missing")
focal_class.modifier: private static final
focal_class.original_string: private static final String MISSING_SESSIONS_METRIC = name(SESSIONS_METRIC_PREFIX, "missing");
focal_class.type: String
focal_class.var_name: MISSING_SESSIONS_METRIC
focal_class.declarator: RETRIEVED_SESSIONS_METRIC = name(SESSIONS_METRIC_PREFIX, "retrieved")
focal_class.modifier: private static final
focal_class.original_string: private static final String RETRIEVED_SESSIONS_METRIC = name(SESSIONS_METRIC_PREFIX, "retrieved");
focal_class.type: String
focal_class.var_name: RETRIEVED_SESSIONS_METRIC
focal_class.declarator: INVALIDATION_ON_EXPIRY_ERRORS_METRIC = name(SESSIONS_METRIC_PREFIX, "invalidation", "errors",
        "expiry")
focal_class.modifier: static final
focal_class.original_string: static final String INVALIDATION_ON_EXPIRY_ERRORS_METRIC = name(SESSIONS_METRIC_PREFIX, "invalidation", "errors",
        "expiry");
focal_class.type: String
focal_class.var_name: INVALIDATION_ON_EXPIRY_ERRORS_METRIC
focal_class.declarator: INVALIDATION_ERRORS_METRIC = name(SESSIONS_METRIC_PREFIX, "invalidation", "errors")
focal_class.modifier: static final
focal_class.original_string: static final String INVALIDATION_ERRORS_METRIC = name(SESSIONS_METRIC_PREFIX, "invalidation", "errors");
focal_class.type: String
focal_class.var_name: INVALIDATION_ERRORS_METRIC
focal_class.declarator: SESSION_PROPAGATED = "com.amadeus.session.sessionPropagated"
focal_class.modifier: static final
focal_class.original_string: static final String SESSION_PROPAGATED = "com.amadeus.session.sessionPropagated";
focal_class.type: String
focal_class.var_name: SESSION_PROPAGATED
focal_class.declarator: repository
focal_class.modifier: protected final
focal_class.original_string: protected final SessionRepository repository;
focal_class.type: SessionRepository
focal_class.var_name: repository
focal_class.declarator: notifier
focal_class.modifier: protected final
focal_class.original_string: protected final SessionNotifier notifier;
focal_class.type: SessionNotifier
focal_class.var_name: notifier
focal_class.declarator: tracking
focal_class.modifier: protected final
focal_class.original_string: protected final SessionTracking tracking;
focal_class.type: SessionTracking
focal_class.var_name: tracking
focal_class.declarator: factory
focal_class.modifier: protected final
focal_class.original_string: protected final SessionFactory factory;
focal_class.type: SessionFactory
focal_class.var_name: factory
focal_class.declarator: executors
focal_class.modifier: protected final
focal_class.original_string: protected final ExecutorFacade executors;
focal_class.type: ExecutorFacade
focal_class.var_name: executors
focal_class.declarator: configuration
focal_class.modifier: protected final
focal_class.original_string: protected final SessionConfiguration configuration;
focal_class.type: SessionConfiguration
focal_class.var_name: configuration
focal_class.declarator: serializerDeserializer
focal_class.modifier: protected final
focal_class.original_string: protected final SerializerDeserializer serializerDeserializer;
focal_class.type: SerializerDeserializer
focal_class.var_name: serializerDeserializer
focal_class.declarator: createdSessions
focal_class.modifier: private final
focal_class.original_string: private final Meter createdSessions;
focal_class.type: Meter
focal_class.var_name: createdSessions
focal_class.declarator: deletedSessions
focal_class.modifier: private final
focal_class.original_string: private final Meter deletedSessions;
focal_class.type: Meter
focal_class.var_name: deletedSessions
focal_class.declarator: retrievedSessions
focal_class.modifier: private final
focal_class.original_string: private final Meter retrievedSessions;
focal_class.type: Meter
focal_class.var_name: retrievedSessions
focal_class.declarator: invalidationErrors
focal_class.modifier: private final
focal_class.original_string: private final Meter invalidationErrors;
focal_class.type: Meter
focal_class.var_name: invalidationErrors
focal_class.declarator: invalidationExpiryErrors
focal_class.modifier: private final
focal_class.original_string: private final Meter invalidationExpiryErrors;
focal_class.type: Meter
focal_class.var_name: invalidationExpiryErrors
focal_class.declarator: missingSessions
focal_class.modifier: private final
focal_class.original_string: private final Meter missingSessions;
focal_class.type: Meter
focal_class.var_name: missingSessions
focal_class.declarator: commitTimer
focal_class.modifier: private final
focal_class.original_string: private final Timer commitTimer;
focal_class.type: Timer
focal_class.var_name: commitTimer
focal_class.declarator: fetchTimer
focal_class.modifier: private final
focal_class.original_string: private final Timer fetchTimer;
focal_class.type: Timer
focal_class.var_name: fetchTimer
focal_class.declarator: monitoring
focal_class.modifier: private final
focal_class.original_string: private final MetricRegistry monitoring;
focal_class.type: MetricRegistry
focal_class.var_name: monitoring
focal_class.declarator: classLoader
focal_class.modifier: private final
focal_class.original_string: private final ClassLoader classLoader;
focal_class.type: ClassLoader
focal_class.var_name: classLoader
focal_class.declarator: reporter
focal_class.modifier: private
focal_class.original_string: private JmxReporter reporter;
focal_class.type: JmxReporter
focal_class.var_name: reporter
focal_class.file: session-replacement/src/main/java/com/amadeus/session/SessionManager.java
focal_class.identifier: SessionManager
focal_class.interfaces: implements Closeable
focal_class.class_method_signature: SessionManager.SessionManager(ExecutorFacade executors, SessionFactory factory, SessionRepository repository,
        SessionTracking tracking, SessionNotifier notifier, SessionConfiguration configuration, ClassLoader classLoader)
focal_class.full_signature: public  SessionManager(ExecutorFacade executors, SessionFactory factory, SessionRepository repository,
        SessionTracking tracking, SessionNotifier notifier, SessionConfiguration configuration, ClassLoader classLoader)
focal_class.identifier: SessionManager
focal_class.modifiers: public
focal_class.parameters: (ExecutorFacade executors, SessionFactory factory, SessionRepository repository,
        SessionTracking tracking, SessionNotifier notifier, SessionConfiguration configuration, ClassLoader classLoader)
focal_class.signature:  SessionManager(ExecutorFacade executors, SessionFactory factory, SessionRepository repository,
        SessionTracking tracking, SessionNotifier notifier, SessionConfiguration configuration, ClassLoader classLoader)
focal_class.class_method_signature: SessionManager.startMonitoring()
focal_class.full_signature: private void startMonitoring()
focal_class.identifier: startMonitoring
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void startMonitoring()
focal_class.class_method_signature: SessionManager.getJmxDomain()
focal_class.full_signature: private String getJmxDomain()
focal_class.identifier: getJmxDomain
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getJmxDomain()
focal_class.class_method_signature: SessionManager.fetchSession(String sessionId, boolean updateTimestamp)
focal_class.full_signature: public RepositoryBackedSession fetchSession(String sessionId, boolean updateTimestamp)
focal_class.identifier: fetchSession
focal_class.modifiers: public
focal_class.parameters: (String sessionId, boolean updateTimestamp)
focal_class.return: RepositoryBackedSession
focal_class.signature: RepositoryBackedSession fetchSession(String sessionId, boolean updateTimestamp)
focal_class.class_method_signature: SessionManager.newSession(String sessionId)
focal_class.full_signature: private RepositoryBackedSession newSession(String sessionId)
focal_class.identifier: newSession
focal_class.modifiers: private
focal_class.parameters: (String sessionId)
focal_class.return: RepositoryBackedSession
focal_class.signature: RepositoryBackedSession newSession(String sessionId)
focal_class.class_method_signature: SessionManager.getSession(RequestWithSession request, boolean create,
        SessionTracking.IdAndSource forceId)
focal_class.full_signature: public RepositoryBackedSession getSession(RequestWithSession request, boolean create,
        SessionTracking.IdAndSource forceId)
focal_class.identifier: getSession
focal_class.modifiers: public
focal_class.parameters: (RequestWithSession request, boolean create,
        SessionTracking.IdAndSource forceId)
focal_class.return: RepositoryBackedSession
focal_class.signature: RepositoryBackedSession getSession(RequestWithSession request, boolean create,
        SessionTracking.IdAndSource forceId)
focal_class.class_method_signature: SessionManager.putIdInLoggingMdc(String id)
focal_class.full_signature: private void putIdInLoggingMdc(String id)
focal_class.identifier: putIdInLoggingMdc
focal_class.modifiers: private
focal_class.parameters: (String id)
focal_class.return: void
focal_class.signature: void putIdInLoggingMdc(String id)
focal_class.class_method_signature: SessionManager.retrieveId(RequestWithSession request, SessionTracking.IdAndSource forceId)
focal_class.full_signature: private SessionTracking.IdAndSource retrieveId(RequestWithSession request, SessionTracking.IdAndSource forceId)
focal_class.identifier: retrieveId
focal_class.modifiers: private
focal_class.parameters: (RequestWithSession request, SessionTracking.IdAndSource forceId)
focal_class.return: SessionTracking.IdAndSource
focal_class.signature: SessionTracking.IdAndSource retrieveId(RequestWithSession request, SessionTracking.IdAndSource forceId)
focal_class.class_method_signature: SessionManager.propagateSession(RequestWithSession request, ResponseWithSessionId response)
focal_class.full_signature: public void propagateSession(RequestWithSession request, ResponseWithSessionId response)
focal_class.identifier: propagateSession
focal_class.modifiers: public
focal_class.parameters: (RequestWithSession request, ResponseWithSessionId response)
focal_class.return: void
focal_class.signature: void propagateSession(RequestWithSession request, ResponseWithSessionId response)
focal_class.class_method_signature: SessionManager.delete(String sessionId, boolean expired)
focal_class.full_signature: public void delete(String sessionId, boolean expired)
focal_class.identifier: delete
focal_class.modifiers: public
focal_class.parameters: (String sessionId, boolean expired)
focal_class.return: void
focal_class.signature: void delete(String sessionId, boolean expired)
focal_class.class_method_signature: SessionManager.markSessionDeletion(String sessionId)
focal_class.full_signature: private void markSessionDeletion(String sessionId)
focal_class.identifier: markSessionDeletion
focal_class.modifiers: private
focal_class.parameters: (String sessionId)
focal_class.return: void
focal_class.signature: void markSessionDeletion(String sessionId)
focal_class.class_method_signature: SessionManager.requestFinished()
focal_class.full_signature: public void requestFinished()
focal_class.identifier: requestFinished
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void requestFinished()
focal_class.class_method_signature: SessionManager.submit(String timer, Runnable task)
focal_class.full_signature: public Future<?> submit(String timer, Runnable task)
focal_class.identifier: submit
focal_class.modifiers: public
focal_class.parameters: (String timer, Runnable task)
focal_class.return: Future<?>
focal_class.signature: Future<?> submit(String timer, Runnable task)
focal_class.class_method_signature: SessionManager.schedule(String timer, Runnable task, long period)
focal_class.full_signature: public ScheduledFuture<?> schedule(String timer, Runnable task, long period)
focal_class.identifier: schedule
focal_class.modifiers: public
focal_class.parameters: (String timer, Runnable task, long period)
focal_class.return: ScheduledFuture<?>
focal_class.signature: ScheduledFuture<?> schedule(String timer, Runnable task, long period)
focal_class.class_method_signature: SessionManager.deleteAsync(final String sessionId, final boolean expired)
focal_class.full_signature: public void deleteAsync(final String sessionId, final boolean expired)
focal_class.identifier: deleteAsync
focal_class.modifiers: public
focal_class.parameters: (final String sessionId, final boolean expired)
focal_class.return: void
focal_class.signature: void deleteAsync(final String sessionId, final boolean expired)
focal_class.class_method_signature: SessionManager.getRepository()
focal_class.full_signature: public SessionRepository getRepository()
focal_class.identifier: getRepository
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SessionRepository
focal_class.signature: SessionRepository getRepository()
focal_class.class_method_signature: SessionManager.getNotifier()
focal_class.full_signature: public SessionNotifier getNotifier()
focal_class.identifier: getNotifier
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SessionNotifier
focal_class.signature: SessionNotifier getNotifier()
focal_class.class_method_signature: SessionManager.invokeCommit(RepositoryBackedSession session)
focal_class.full_signature: public void invokeCommit(RepositoryBackedSession session)
focal_class.identifier: invokeCommit
focal_class.modifiers: public
focal_class.parameters: (RepositoryBackedSession session)
focal_class.return: void
focal_class.signature: void invokeCommit(RepositoryBackedSession session)
focal_class.class_method_signature: SessionManager.getConfiguration()
focal_class.full_signature: public SessionConfiguration getConfiguration()
focal_class.identifier: getConfiguration
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SessionConfiguration
focal_class.signature: SessionConfiguration getConfiguration()
focal_class.class_method_signature: SessionManager.getSessionClassLoader()
focal_class.full_signature: public ClassLoader getSessionClassLoader()
focal_class.identifier: getSessionClassLoader
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ClassLoader
focal_class.signature: ClassLoader getSessionClassLoader()
focal_class.class_method_signature: SessionManager.getSerializerDeserializer()
focal_class.full_signature: public SerializerDeserializer getSerializerDeserializer()
focal_class.identifier: getSerializerDeserializer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SerializerDeserializer
focal_class.signature: SerializerDeserializer getSerializerDeserializer()
focal_class.class_method_signature: SessionManager.invalidationConflict(RepositoryBackedSession session, boolean onExpiry)
focal_class.full_signature: public void invalidationConflict(RepositoryBackedSession session, boolean onExpiry)
focal_class.identifier: invalidationConflict
focal_class.modifiers: public
focal_class.parameters: (RepositoryBackedSession session, boolean onExpiry)
focal_class.return: void
focal_class.signature: void invalidationConflict(RepositoryBackedSession session, boolean onExpiry)
focal_class.class_method_signature: SessionManager.getMetrics()
focal_class.full_signature: public MetricRegistry getMetrics()
focal_class.identifier: getMetrics
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: MetricRegistry
focal_class.signature: MetricRegistry getMetrics()
focal_class.class_method_signature: SessionManager.encodeUrl(RequestWithSession request, String url)
focal_class.full_signature: public String encodeUrl(RequestWithSession request, String url)
focal_class.identifier: encodeUrl
focal_class.modifiers: public
focal_class.parameters: (RequestWithSession request, String url)
focal_class.return: String
focal_class.signature: String encodeUrl(RequestWithSession request, String url)
focal_class.class_method_signature: SessionManager.reset()
focal_class.full_signature: public void reset()
focal_class.identifier: reset
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reset()
focal_class.class_method_signature: SessionManager.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: SessionManager.switchSessionId(RepositoryBackedSession session)
focal_class.full_signature: public void switchSessionId(RepositoryBackedSession session)
focal_class.identifier: switchSessionId
focal_class.modifiers: public
focal_class.parameters: (RepositoryBackedSession session)
focal_class.return: void
focal_class.signature: void switchSessionId(RepositoryBackedSession session)
focal_class.class_method_signature: SessionManager.switchSessionId(RepositoryBackedSession session, String forceId)
focal_class.full_signature: public void switchSessionId(RepositoryBackedSession session, String forceId)
focal_class.identifier: switchSessionId
focal_class.modifiers: public
focal_class.parameters: (RepositoryBackedSession session, String forceId)
focal_class.return: void
focal_class.signature: void switchSessionId(RepositoryBackedSession session, String forceId)
focal_class.class_method_signature: SessionManager.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_class.class_method_signature: SessionManager.remove(SessionData sessionData)
focal_class.full_signature: public void remove(SessionData sessionData)
focal_class.identifier: remove
focal_class.modifiers: public
focal_class.parameters: (SessionData sessionData)
focal_class.return: void
focal_class.signature: void remove(SessionData sessionData)
focal_class.class_method_signature: SessionManager.isConnected()
focal_class.full_signature: public boolean isConnected()
focal_class.identifier: isConnected
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isConnected()
focal_method.body: public Future<?> submit(String timer, Runnable task) {
      if (timer != null) {
        return executors.submit(new RunnableWithTimer(timer, task));
      } else {
        return executors.submit(task);
      }
    }
focal_method.class_method_signature: SessionManager.submit(String timer, Runnable task)
focal_method.full_signature: public Future<?> submit(String timer, Runnable task)
focal_method.identifier: submit
focal_method.invocations: submit submit
focal_method.modifiers: public
focal_method.parameters: (String timer, Runnable task)
focal_method.return: Future<?>
focal_method.signature: Future<?> submit(String timer, Runnable task)