Package org.apache.aurora.scheduler.log.mesos.MesosLog.LogStream

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


        WRITE_TIMEOUT.getUnit().getTimeUnit()))
        .andReturn(truncate);

    control.replay();

    logStream.truncateBefore(new LogPosition(truncate));
  }
View Full Code Here


  @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

        WRITE_TIMEOUT.getUnit().getTimeUnit()))
        .andReturn(truncate);

    control.replay();

    logStream.truncateBefore(new LogPosition(truncate));
  }
View Full Code Here

  @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

Related Classes of org.apache.aurora.scheduler.log.mesos.MesosLog.LogStream.LogPosition

Copyright © 2018 www.massapicom. 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.