Example usage for org.eclipse.jdt.internal.core.util LRUCache LRUCache

List of usage examples for org.eclipse.jdt.internal.core.util LRUCache LRUCache

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.core.util LRUCache LRUCache.

Prototype

public LRUCache(int size) 

Source Link

Document

Creates a new cache.

Usage

From source file:com.codenvy.ide.ext.java.server.internal.core.JavaModelCache.java

License:Open Source License

protected void resetJarTypeCache() {
    this.jarTypeCache = new LRUCache((int) (DEFAULT_OPENABLE_SIZE * getMemoryRatio() * getJarTypeRatio()));
}