congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MemoryInformationData.getPlatformIdent
Code IndexAdd Tabnine to your IDE (free)

How to use
getPlatformIdent
method
in
rocks.inspectit.shared.all.communication.data.MemoryInformationData

Best Java code snippets using rocks.inspectit.shared.all.communication.data.MemoryInformationData.getPlatformIdent (Showing top 8 results out of 315)

origin: inspectIT/inspectIT

/**
 * {@inheritDoc}
 */
@Override
public Object getAggregationKey(MemoryInformationData object) {
  return object.getPlatformIdent();
}
origin: inspectIT/inspectIT

/**
 * {@inheritDoc}
 */
@Override
public MemoryInformationData getClone(MemoryInformationData memoryInformationData) {
  MemoryInformationData clone = new MemoryInformationData();
  clone.setPlatformIdent(memoryInformationData.getPlatformIdent());
  clone.setSensorTypeIdent(memoryInformationData.getSensorTypeIdent());
  return clone;
}
origin: inspectIT/inspectIT

@Test
public void noPlatform() throws Exception {
  when(cachedDataService.getPlatformIdentForId(PLATFORM_ID)).thenReturn(null);
  long time = RandomUtils.nextLong();
  when(data.getPlatformIdent()).thenReturn(PLATFORM_ID);
  when(data.getTimeStamp()).thenReturn(new Timestamp(time));
  when(data.getCount()).thenReturn(1);
  Collection<Builder> pointBuilderCol = builder.createBuilders(data);
  assertThat(pointBuilderCol.size(), is(1));
  Builder pointBuilder = pointBuilderCol.iterator().next();
  assertThat(getMeasurement(pointBuilder), is(Series.MemoryInformation.NAME));
  assertThat(getTime(pointBuilder), is(time));
  assertThat(getPrecision(pointBuilder), is(TimeUnit.MILLISECONDS));
  assertThat(getTags(pointBuilder), hasEntry(Series.TAG_AGENT_ID, String.valueOf(PLATFORM_ID)));
  assertThat(getTags(pointBuilder), not(hasKey(Series.TAG_AGENT_NAME)));
}
origin: inspectIT/inspectIT

when(data.getPlatformIdent()).thenReturn(PLATFORM_ID);
when(data.getTimeStamp()).thenReturn(new Timestamp(time));
when(data.getCount()).thenReturn(5);
origin: inspectIT/inspectIT

MemoryInformationData memoryInformationData = (MemoryInformationData) this.cut.get();
assertThat(memoryInformationData.getPlatformIdent(), is(1L));
assertThat(memoryInformationData.getSensorTypeIdent(), is(2L));
assertThat(memoryInformationData.getCount(), is(0));
origin: inspectIT/inspectIT

assertThat(memoryInformationData.getPlatformIdent(), is(1L));
assertThat(memoryInformationData.getSensorTypeIdent(), is(2L));
assertThat(memoryInformationData.getCount(), is(3));
origin: inspectIT/inspectIT

when(data.getPlatformIdent()).thenReturn(PLATFORM_ID);
when(data.getTimeStamp()).thenReturn(new Timestamp(time));
when(data.getCount()).thenReturn(5);
origin: inspectIT/inspectIT

MemoryInformationData newMemoryInformationData = new MemoryInformationData();
newMemoryInformationData.setPlatformIdent(this.memoryInformationData.getPlatformIdent());
newMemoryInformationData.setSensorTypeIdent(this.memoryInformationData.getSensorTypeIdent());
newMemoryInformationData.setCount(this.memoryInformationData.getCount());
rocks.inspectit.shared.all.communication.dataMemoryInformationDatagetPlatformIdent

Popular methods of MemoryInformationData

  • getCount
    Gets #count.
  • getMaxUsedHeapMemorySize
    Gets #maxUsedHeapMemorySize.
  • getMaxUsedNonHeapMemorySize
    Gets #maxUsedNonHeapMemorySize.
  • getMinUsedHeapMemorySize
    Gets #minUsedHeapMemorySize.
  • getMinUsedNonHeapMemorySize
    Gets #minUsedNonHeapMemorySize.
  • getTotalUsedHeapMemorySize
    Gets #totalUsedHeapMemorySize.
  • getTotalUsedNonHeapMemorySize
    Gets #totalUsedNonHeapMemorySize.
  • getTimeStamp
  • getTotalComittedHeapMemorySize
    Gets #totalComittedHeapMemorySize.
  • getTotalComittedNonHeapMemorySize
    Gets #totalComittedNonHeapMemorySize.
  • getTotalFreePhysMemory
    Gets #totalFreePhysMemory.
  • getTotalFreeSwapSpace
    Gets #totalFreeSwapSpace.
  • getTotalFreePhysMemory,
  • getTotalFreeSwapSpace,
  • setPlatformIdent,
  • setSensorTypeIdent,
  • <init>,
  • getSensorTypeIdent,
  • getMaxComittedHeapMemorySize,
  • getMaxComittedNonHeapMemorySize,
  • getMaxComittedVirtualMemSize

Popular in Java

  • Running tasks concurrently on multiple threads
  • getApplicationContext (Context)
  • getSharedPreferences (Context)
  • getSystemService (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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