use of org.neo4j.io.pagecache.tracing.cursor.PageCursorTracer in project neo4j by neo4j.
the class RelationshipSelectionsIT method assertZeroCursor.
private void assertZeroCursor(CursorContext cursorContext) {
PageCursorTracer cursorTracer = cursorContext.getCursorTracer();
assertThat(cursorTracer.hits()).isZero();
assertThat(cursorTracer.pins()).isZero();
assertThat(cursorTracer.unpins()).isZero();
assertThat(cursorTracer.faults()).isZero();
}
use of org.neo4j.io.pagecache.tracing.cursor.PageCursorTracer in project neo4j by neo4j.
the class RelationshipSelectionsIT method assertOneCursor.
private void assertOneCursor(CursorContext cursorContext) {
PageCursorTracer cursorTracer = cursorContext.getCursorTracer();
assertThat(cursorTracer.hits()).isOne();
assertThat(cursorTracer.pins()).isOne();
assertThat(cursorTracer.unpins()).isOne();
}
use of org.neo4j.io.pagecache.tracing.cursor.PageCursorTracer in project neo4j by neo4j.
the class CommandCreationContextIT method assertCursorOne.
private static void assertCursorOne(CursorContext cursorContext) {
PageCursorTracer cursorTracer = cursorContext.getCursorTracer();
assertThat(cursorTracer.pins()).isOne();
assertThat(cursorTracer.unpins()).isOne();
assertThat(cursorTracer.hits()).isOne();
}
use of org.neo4j.io.pagecache.tracing.cursor.PageCursorTracer in project neo4j by neo4j.
the class CommitProcessTracingIT method assertCursor.
private void assertCursor(CursorContext cursorContext, int expected) {
PageCursorTracer cursorTracer = cursorContext.getCursorTracer();
assertThat(cursorTracer.pins()).isEqualTo(expected);
assertThat(cursorTracer.unpins()).isEqualTo(expected);
assertThat(cursorTracer.hits()).isEqualTo(expected);
}
use of org.neo4j.io.pagecache.tracing.cursor.PageCursorTracer in project neo4j by neo4j.
the class TransactionCountingStateVisitorTraceIT method assertZeroCursor.
private void assertZeroCursor(CursorContext cursorContext) {
PageCursorTracer cursorTracer = cursorContext.getCursorTracer();
assertThat(cursorTracer.pins()).isZero();
assertThat(cursorTracer.hits()).isZero();
assertThat(cursorTracer.unpins()).isZero();
assertThat(cursorTracer.faults()).isZero();
}
Aggregations