test_class.declarator: cache = newSegmentCache(DEFAULT_SEGMENT_CACHE_MB)
test_class.modifier: private final
test_class.original_string: private final SegmentCache cache = newSegmentCache(DEFAULT_SEGMENT_CACHE_MB);
test_class.type: SegmentCache
test_class.var_name: cache
test_class.declarator: id1 = new SegmentId(EMPTY_STORE, 0x0000000000000001L, 0xa000000000000001L, cache::recordHit)
test_class.modifier: private final
test_class.original_string: private final SegmentId id1 = new SegmentId(EMPTY_STORE, 0x0000000000000001L, 0xa000000000000001L, cache::recordHit);
test_class.type: SegmentId
test_class.var_name: id1
test_class.declarator: segment1 = mock(Segment.class)
test_class.modifier: private final
test_class.original_string: private final Segment segment1 = mock(Segment.class);
test_class.type: Segment
test_class.var_name: segment1
test_class.declarator: id2 = new SegmentId(EMPTY_STORE, 0x0000000000000002L, 0xa000000000000002L, cache::recordHit)
test_class.modifier: private final
test_class.original_string: private final SegmentId id2 = new SegmentId(EMPTY_STORE, 0x0000000000000002L, 0xa000000000000002L, cache::recordHit);
test_class.type: SegmentId
test_class.var_name: id2
test_class.declarator: segment2 = mock(Segment.class)
test_class.modifier: private final
test_class.original_string: private final Segment segment2 = mock(Segment.class);
test_class.type: Segment
test_class.var_name: segment2
test_class.declarator: id3 = new SegmentId(EMPTY_STORE, 0x0000000000000003L, 0xa000000000000003L, cache::recordHit)
test_class.modifier: private final
test_class.original_string: private final SegmentId id3 = new SegmentId(EMPTY_STORE, 0x0000000000000003L, 0xa000000000000003L, cache::recordHit);
test_class.type: SegmentId
test_class.var_name: id3
test_class.declarator: segment3 = mock(Segment.class)
test_class.modifier: private final
test_class.original_string: private final Segment segment3 = mock(Segment.class);
test_class.type: Segment
test_class.var_name: segment3
test_class.file: oak-segment-tar/src/test/java/org/apache/jackrabbit/oak/segment/SegmentCacheTest.java
test_class.identifier: SegmentCacheTest
test_case.body: @Test(expected = SegmentNotFoundException.class)
      public void snfeFromUncachedSegment() {
          id1.getSegment();
      }
test_case.class_method_signature: SegmentCacheTest.snfeFromUncachedSegment()
test_case.full_signature: @Test(expected = SegmentNotFoundException.class) public void snfeFromUncachedSegment()
test_case.identifier: snfeFromUncachedSegment
test_case.invocations: getSegment
test_case.modifiers: @Test(expected = SegmentNotFoundException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void snfeFromUncachedSegment()
focal_class.declarator: DEFAULT_SEGMENT_CACHE_MB = 256
focal_class.modifier: public static final
focal_class.original_string: public static final int DEFAULT_SEGMENT_CACHE_MB = 256;
focal_class.type: int
focal_class.var_name: DEFAULT_SEGMENT_CACHE_MB
focal_class.declarator: NAME = "Segment Cache"
focal_class.modifier: private static final
focal_class.original_string: private static final String NAME = "Segment Cache";
focal_class.type: String
focal_class.var_name: NAME
focal_class.file: oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentCache.java
focal_class.identifier: SegmentCache
focal_class.class_method_signature: SegmentCache.newSegmentCache(long cacheSizeMB)
focal_class.full_signature: @NotNull public static SegmentCache newSegmentCache(long cacheSizeMB)
focal_class.identifier: newSegmentCache
focal_class.modifiers: @NotNull public static
focal_class.parameters: (long cacheSizeMB)
focal_class.return: SegmentCache
focal_class.signature: SegmentCache newSegmentCache(long cacheSizeMB)
focal_class.class_method_signature: SegmentCache.getSegment(@NotNull SegmentId id, @NotNull Callable<Segment> loader)
focal_class.full_signature: @NotNull public abstract Segment getSegment(@NotNull SegmentId id, @NotNull Callable<Segment> loader)
focal_class.identifier: getSegment
focal_class.modifiers: @NotNull public abstract
focal_class.parameters: (@NotNull SegmentId id, @NotNull Callable<Segment> loader)
focal_class.return: Segment
focal_class.signature: Segment getSegment(@NotNull SegmentId id, @NotNull Callable<Segment> loader)
focal_class.class_method_signature: SegmentCache.putSegment(@NotNull Segment segment)
focal_class.full_signature: public abstract void putSegment(@NotNull Segment segment)
focal_class.identifier: putSegment
focal_class.modifiers: public abstract
focal_class.parameters: (@NotNull Segment segment)
focal_class.return: void
focal_class.signature: void putSegment(@NotNull Segment segment)
focal_class.class_method_signature: SegmentCache.clear()
focal_class.full_signature: public abstract void clear()
focal_class.identifier: clear
focal_class.modifiers: public abstract
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: SegmentCache.getCacheStats()
focal_class.full_signature: @NotNull public abstract AbstractCacheStats getCacheStats()
focal_class.identifier: getCacheStats
focal_class.modifiers: @NotNull public abstract
focal_class.parameters: ()
focal_class.return: AbstractCacheStats
focal_class.signature: AbstractCacheStats getCacheStats()
focal_class.class_method_signature: SegmentCache.recordHit()
focal_class.full_signature: public abstract void recordHit()
focal_class.identifier: recordHit
focal_class.modifiers: public abstract
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void recordHit()
focal_method.body: @NotNull
      public abstract Segment getSegment(@NotNull SegmentId id, @NotNull Callable<Segment> loader)
      throws ExecutionException;
focal_method.class_method_signature: SegmentCache.getSegment(@NotNull SegmentId id, @NotNull Callable<Segment> loader)
focal_method.full_signature: @NotNull public abstract Segment getSegment(@NotNull SegmentId id, @NotNull Callable<Segment> loader)
focal_method.identifier: getSegment
focal_method.modifiers: @NotNull public abstract
focal_method.parameters: (@NotNull SegmentId id, @NotNull Callable<Segment> loader)
focal_method.return: Segment
focal_method.signature: Segment getSegment(@NotNull SegmentId id, @NotNull Callable<Segment> loader)