org.terracotta.offheapstore.paging
Class Page

java.lang.Object
  extended by org.terracotta.offheapstore.paging.Page
Direct Known Subclasses:
MappedPage

public class Page
extends Object

Author:
Chris Dennis

Constructor Summary
Page(ByteBuffer buffer, int index, int address, OffHeapStorageArea binding)
           
Page(ByteBuffer buffer, OffHeapStorageArea binding)
           
 
Method Summary
 int address()
           
 ByteBuffer asByteBuffer()
           
 IntBuffer asIntBuffer()
           
 OffHeapStorageArea binding()
           
 int index()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Page

public Page(ByteBuffer buffer,
            OffHeapStorageArea binding)

Page

public Page(ByteBuffer buffer,
            int index,
            int address,
            OffHeapStorageArea binding)
Method Detail

asByteBuffer

public ByteBuffer asByteBuffer()

asIntBuffer

public IntBuffer asIntBuffer()

size

public int size()

index

public int index()

address

public int address()

binding

public OffHeapStorageArea binding()


Copyright © 2015. All Rights Reserved.