com.sleepycat.je.tree
Class VLSNCache.DefaultCache

java.lang.Object
  extended by com.sleepycat.je.tree.VLSNCache
      extended by com.sleepycat.je.tree.VLSNCache.DefaultCache
Enclosing class:
VLSNCache

public static class VLSNCache.DefaultCache
extends VLSNCache


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sleepycat.je.tree.VLSNCache
VLSNCache.DefaultCache
 
Field Summary
 
Fields inherited from class com.sleepycat.je.tree.VLSNCache
EMPTY_CACHE
 
Constructor Summary
VLSNCache.DefaultCache(int capacity, int nBytes)
           
VLSNCache.DefaultCache(SizeofMarker marker)
           
 
Method Summary
 VLSNCache.DefaultCache copy(int from, int to, int n)
           
 long get(int idx)
           
 long getMemorySize()
           
 VLSNCache.DefaultCache set(int idx, long val, IN parent)
          Mutates to a DefaultCache with a larger number of bytes if necessary to hold the given value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VLSNCache.DefaultCache

public VLSNCache.DefaultCache(int capacity,
                              int nBytes)

VLSNCache.DefaultCache

public VLSNCache.DefaultCache(SizeofMarker marker)
Method Detail

get

public long get(int idx)
Specified by:
get in class VLSNCache

set

public VLSNCache.DefaultCache set(int idx,
                                  long val,
                                  IN parent)
Mutates to a DefaultCache with a larger number of bytes if necessary to hold the given value.

Specified by:
set in class VLSNCache

copy

public VLSNCache.DefaultCache copy(int from,
                                   int to,
                                   int n)
Specified by:
copy in class VLSNCache

getMemorySize

public long getMemorySize()
Specified by:
getMemorySize in class VLSNCache


Copyright (c) 2004-2012 Oracle. All rights reserved.