org.exist.storage.store
Class BFile.ClockPageBuffer

java.lang.Object
  extended byorg.exist.storage.store.BFile.ClockPageBuffer
Enclosing class:
BFile

protected class BFile.ClockPageBuffer
extends java.lang.Object


Field Summary
protected  int blockBuffers
           
protected  int fails
           
protected  int hits
           
protected  it.unimi.dsi.fastutil.Long2ObjectLinkedOpenHashMap map
           
static int PAGE_BUFFER_SIZE
           
 
Constructor Summary
BFile.ClockPageBuffer()
          Constructor for the PageBuffer object
BFile.ClockPageBuffer(int blockBuffers)
          Constructor for the PageBuffer object
 
Method Summary
 void add(org.exist.storage.store.BFile.DataPage page)
          Description of the Method
 void add(org.exist.storage.store.BFile.DataPage page, int initialRefCount)
           
 void flush()
           
 org.exist.storage.store.BFile.DataPage get(long pnum)
           
 org.exist.storage.store.BFile.DataPage get(org.dbxml.core.filer.Paged.Page page)
           
 int getBuffers()
           
 int getFails()
           
 int getHits()
           
 int getSize()
           
 int getUsedBuffers()
           
 void remove(org.exist.storage.store.BFile.DataPage page)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE_BUFFER_SIZE

public static final int PAGE_BUFFER_SIZE
See Also:
Constant Field Values

blockBuffers

protected int blockBuffers

fails

protected int fails

hits

protected int hits

map

protected it.unimi.dsi.fastutil.Long2ObjectLinkedOpenHashMap map
Constructor Detail

BFile.ClockPageBuffer

public BFile.ClockPageBuffer(int blockBuffers)
Constructor for the PageBuffer object

Parameters:
blockBuffers - Description of the Parameter

BFile.ClockPageBuffer

public BFile.ClockPageBuffer()
Constructor for the PageBuffer object

Method Detail

add

public void add(org.exist.storage.store.BFile.DataPage page)
Description of the Method

Parameters:
page - Description of the Parameter

add

public void add(org.exist.storage.store.BFile.DataPage page,
                int initialRefCount)

flush

public void flush()

get

public org.exist.storage.store.BFile.DataPage get(org.dbxml.core.filer.Paged.Page page)

get

public org.exist.storage.store.BFile.DataPage get(long pnum)

remove

public void remove(org.exist.storage.store.BFile.DataPage page)

getBuffers

public int getBuffers()

getUsedBuffers

public int getUsedBuffers()

getSize

public int getSize()

getFails

public int getFails()

getHits

public int getHits()


Copyright (C) Wolfgang Meier. All rights reserved.