|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.xml.scalable.AbstractPageManager
oracle.xml.scalable.FilePageManager
public class FilePageManager
A PageManager
that stores pages in a file.
Constructor Summary | |
---|---|
FilePageManager(java.lang.String filename) Creates a FilePageManager. |
Method Summary | |
---|---|
void |
close() Closes the session. |
void |
deletePage(PageManager.PageId id) Delete the page for the given page id. |
int |
read(byte[] buf, int off, int len) Read from the given offset into the buffer |
void |
seek(long offset) Seek to the given offset |
void |
write(byte[] buf, int off, int len) Write at the given offset from the buffer |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FilePageManager(java.lang.String filename)
filename
- - the system-dependent filenameMethod Detail |
---|
public void seek(long offset) throws java.io.IOException
java.io.IOException
public int read(byte[] buf, int off, int len) throws java.io.IOException
buf
- - result bufferoff
- - offset to start reading fromlen
- - number of bytes to readjava.io.IOException
public void write(byte[] buf, int off, int len) throws java.io.IOException
buf
- - input bufferoff
- - offset to start writing fromlen
- - number of bytes to writejava.io.IOException
public void deletePage(PageManager.PageId id)
deletePage
in interface PageManager
id
- - an Object containing the page Id.public void close()
close
in interface PageManager
|
Oracle® Database XML Java API Reference 12c Release 1 (12.1) E15981-09 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2003, 2014, Oracle and/or its affiliates. All rights reserved.