Examples of LRUIndexMap


Examples of com.taobao.common.store.journal.impl.LRUIndexMap

            if (enableIndexLRU) {
                final long maxMemory = Runtime.getRuntime().maxMemory();
                // Ĭ��ʹ������ڴ��1/40���洢������Ŀǰֻ�ǹ���ֵ����Ҫ����
                final int capacity = (int) (maxMemory / 40 / 60);
                this.indices =
                        new LRUIndexMap(capacity, this.getPath() + File.separator + name + "_indexCache",
                            enableIndexLRU);
            }
            else {
                this.indices = new ConcurrentIndexMap();
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.