public class JDBCWriterStub extends java.io.Writer implements JDBCWriter, java.io.Serializable, weblogic.rmi.extensions.server.StubDelegateInfo
Modifier and Type | Field and Description |
---|---|
(package private) int |
block_size
size o' chunk to be written
|
(package private) char[] |
chars
buffer for data to be written
|
(package private) boolean |
closed
status of writer stream
|
private int |
currpos
current position on the buffer to be written
|
(package private) JDBCWriter |
remoteWtr
server-side output stream
|
(package private) boolean |
verbose
turns on debug performance monitoring
|
Constructor and Description |
---|
JDBCWriterStub(JDBCWriter wtr,
boolean verbose,
int block_size)
provides a SmartStub interface to help buffer writing to the
underlying t2 Lob server side impl that wraps the t2 Clob
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flush() |
java.lang.Object |
getStubDelegate()
Returns the instance of the implementation that corresponds to a
stub.
|
void |
write(char[] c) |
void |
write(char[] c,
int off,
int len) |
void |
write(int c) |
void |
write(java.lang.String str) |
void |
write(java.lang.String str,
int offset,
int length) |
void |
writeBlock(char[] c) |
JDBCWriter remoteWtr
boolean verbose
char[] chars
private int currpos
boolean closed
int block_size
public JDBCWriterStub(JDBCWriter wtr, boolean verbose, int block_size)
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in interface JDBCWriter
close
in class java.io.Writer
java.io.IOException
OutputStream.close()
,
weblogic.jdbc.common.JDBCOutputStream#close
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in interface JDBCWriter
flush
in class java.io.Writer
java.io.IOException
Writer.flush()
,
weblogic.jdbc.common.JDBCWriter#flush
public void writeBlock(char[] c) throws java.io.IOException
writeBlock
in interface JDBCWriter
java.io.IOException
public void write(int c) throws java.io.IOException
write
in class java.io.Writer
java.io.IOException
public void write(java.lang.String str) throws java.io.IOException
write
in class java.io.Writer
java.io.IOException
public void write(java.lang.String str, int offset, int length) throws java.io.IOException
write
in class java.io.Writer
java.io.IOException
public void write(char[] c) throws java.io.IOException
write
in class java.io.Writer
java.io.IOException
public void write(char[] c, int off, int len) throws java.io.IOException
write
in interface JDBCWriter
write
in class java.io.Writer
java.io.IOException
public java.lang.Object getStubDelegate()
weblogic.rmi.extensions.server.StubDelegateInfo
getStubDelegate
in interface weblogic.rmi.extensions.server.StubDelegateInfo