Examples of LogPosition


Examples of org.apache.aurora.scheduler.log.mesos.MesosLog.LogStream.LogPosition

  @Test
  public void testSortOrder() throws Exception {
    control.replay();

    LogPosition a = new LogPosition(makePosition(5));
    LogPosition b = new LogPosition(makePosition(10));
    LogPosition c = new LogPosition(makePosition(3));
    assertEquals(
        ImmutableList.of(c, a, b),
        ImmutableList.copyOf(ImmutableSortedSet.of(a, b, c))
    );
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.