congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AgentStatisticsLogger.noClassCacheAvailable
Code IndexAdd Tabnine to your IDE (free)

How to use
noClassCacheAvailable
method
in
rocks.inspectit.agent.java.stats.AgentStatisticsLogger

Best Java code snippets using rocks.inspectit.agent.java.stats.AgentStatisticsLogger.noClassCacheAvailable (Showing top 6 results out of 315)

origin: inspectIT/inspectIT

@Test
public void onFirst() {
  statsLogger.noClassCacheAvailable();
  verify(log, times(1)).isWarnEnabled();
  verify(log, times(1)).warn(anyString());
  verifyNoMoreInteractions(log);
}
origin: inspectIT/inspectIT

  @Test
  public void onSecondUntilInfinity() {
    // log should be executed onces
    statsLogger.noClassCacheAvailable();
    verify(log, times(1)).isWarnEnabled();
    verify(log, times(1)).warn(anyString());
    // log shouldn't be executed twice
    statsLogger.noClassCacheAvailable();
    verify(log, times(2)).isWarnEnabled();
    verify(log, times(1)).warn(anyString());
    verifyNoMoreInteractions(log);
  }
}
origin: inspectIT/inspectIT

  @Test
  public void noClassCacheWarningShouldBeLoggedOnce() throws Exception {
    when(connection.isConnected()).thenReturn(true);
    BusinessException businessException = new BusinessException(AgentManagementErrorCodeEnum.AGENT_DOES_NOT_EXIST);
    doThrow(businessException).when(connection).analyzeJmxAttributes(anyLong(), Matchers.anyList());
    jmxSensor.mbeanServerAdded(mBeanServer);
    verify(agentStatisticsLogger, times(1)).noClassCacheAvailable();
  }
}
origin: inspectIT/inspectIT

BusinessException businessException = (BusinessException) executionException.getCause();
if (AgentManagementErrorCodeEnum.AGENT_DOES_NOT_EXIST.equals(businessException.getErrorCode())) {
  agentStatisticsLogger.noClassCacheAvailable();
  return null;
origin: inspectIT/inspectIT

  agentStatisticsLogger.noClassCacheAvailable();
} else {
  log.warn("Error registering JMX attributes on the server.", e);
origin: inspectIT/inspectIT

verify(agentStatisticsLogger, times(1)).noClassCacheAvailable();
rocks.inspectit.agent.java.statsAgentStatisticsLoggernoClassCacheAvailable

Javadoc

Signals throws businessTransaction caused by missing class cache.

Popular methods of AgentStatisticsLogger

  • dataDropped
    Signals data drop.

Popular in Java

  • Making http requests using okhttp
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
  • notifyDataSetChanged (ArrayAdapter)
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • JPanel (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now