Code example for LoadingCache

Methods: invalidateAll

        //noinspection ResultOfMethodCallIgnored 
        new File(filename).getParentFile().mkdirs();
        try (ObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(filename))) {
  public static class IndexEntry { 
    private AtomicInteger numRecords;
    private final long[] pointers;
    private final long[] minIds;
    private long minId;
    public IndexEntry(AtomicInteger numRecords, long minId, long[] pointers, long[] minIds) {
      this.numRecords = numRecords;
      this.minId = minId;
      this.pointers = pointers;
Connect your IDE to all the code out there  Get Codota for Java