DEFAULT_CACHE_INCREMENT
protected static double DEFAULT_CACHE_INCREMENT
DEFAULT_ENABLE_BACKING_STORE
protected static boolean DEFAULT_ENABLE_BACKING_STORE
DEFAULT_RESIDENT_SIZE
protected static int DEFAULT_RESIDENT_SIZE
WORKING_BUFFER_SIZE
protected static int WORKING_BUFFER_SIZE
bs_handle
protected File bs_handle
bs_stream
protected OutputStream bs_stream
count
protected long count
enableBackingStore
protected boolean enableBackingStore
max_size
protected int max_size
close
public void close()
throws IOException
Method close
createBackingStoreInputStream
protected InputStream createBackingStoreInputStream()
throws FileNotFoundException
Method createBackingStoreInputStream
discardBackingStore
protected void discardBackingStore()
Method discardBackingStore
discardBuffer
public void discardBuffer()
Method discardBuffer
finalize
protected void finalize()
Method finalize
flush
public void flush()
throws IOException
Method flush
getBackingStoreFileName
public String getBackingStoreFileName()
throws IOException
Method getBackingStoreFileName
getDEFAULT_CACHE_INCREMENT
public static double getDEFAULT_CACHE_INCREMENT()
getDEFAULT_RESIDENT_SIZE
public static int getDEFAULT_RESIDENT_SIZE()
increaseCapacity
protected void increaseCapacity(int count)
throws IOException
Method increaseCapacity
count
-
isDEFAULT_ENABLE_BACKING_STORE
public static boolean isDEFAULT_ENABLE_BACKING_STORE()
isEnableBackingStore
public boolean isEnableBackingStore()
makeInputStream
protected InputStream makeInputStream()
throws IOException,
FileNotFoundException
Method makeInputStream
setDEFAULT_CACHE_INCREMENT
public static void setDEFAULT_CACHE_INCREMENT(double DEFAULT_CACHE_INCREMENT)
setDEFAULT_ENABLE_BACKING_STORE
public static void setDEFAULT_ENABLE_BACKING_STORE(boolean DEFAULT_ENABLE_BACKING_STORE)
setDEFAULT_RESIDENT_SIZE
public static void setDEFAULT_RESIDENT_SIZE(int DEFAULT_RESIDENT_SIZE)
setEnableBackingStore
public void setEnableBackingStore(boolean enableBackingStore)
size
public long size()
Method size
switchToBackingStore
protected void switchToBackingStore()
throws IOException
Method switchToBackingStore
toByteArray
public byte[] toByteArray()
throws IOException
Method toByteArray
write
public void write(bytes[] )
throws IOException
Method write
write
public void write(bytes[] ,
int start,
int length)
throws IOException
Method write
start
- length
-
write
public void write(int b)
throws IOException
Method write
b
-
writeTo
public void writeTo(OutputStream os)
throws IOException
Method writeTo
os
-