|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Component·Î Àü¼ÛÇÏ´Â Response¸¦ Gauce Service¿¡ ºÎÇÕÇϵµ·Ï Ãß»óÈ ½ÃŲ Ŭ·¡½ºÀÌ´Ù.
| Method Summary | |
void |
close()
Component¿ÍÀÇ Åë½ÅÀ» ²÷´Â´Ù. |
void |
commit()
Component¿¡°Ô TransactionÀ» ³¡¸¶Ä£ °á°ú¸¦ Àü¼ÛÇÑ´Ù. |
void |
commit(java.lang.String msg)
Component¿¡°Ô TransactionÀ» ³¡¸¶Ä£ °á°ú¸¦ Àü¼ÛÇÑ´Ù. commit() method¿Í ±â´ÉÀº µ¿ÀÏÇϸç ÁöÁ¤µÈ ¸Þ¼¼Áö¸¦ Component·Î °°ÀÌ Àü¼ÛÇÑ´Ù. |
void |
enableFirstRow(GauceDataSet dataSet)
GauceDataSetÀ» first-row°¡ Áö¿øµÇ´Â GauceDataSetÀ¸·Î ¼ºñ½ºÇϱâ À§ÇØ ¼ºñ½º¿¡ µî·Ï½ÃŲ´Ù. |
void |
flush()
Buffer¿¡ ³²Àº PacketÀ» Component·Î Àü¼ÛÇϰí Buffer¸¦ ºñ¿î´Ù. |
void |
write(byte[] buf)
char¹è¿À» Component·Î Àü¼ÛÇÑ´Ù. |
void |
write(byte[] buf,
int off,
int len)
bufÀÇ ³»¿ëÁß ÁöÁ¤µÈ ºÎºÐ¸¸Å Component·Î Àü¼ÛÇÑ´Ù. |
void |
write(GauceDataSet dataSet)
GauceDataSetÀ» Component·Î Àü¼ÛÇÑ´Ù. |
void |
write(java.lang.String str)
StringÀ» Component·Î Àü¼ÛÇÑ´Ù. |
void |
writeException(java.lang.String type,
java.lang.String code,
java.lang.String e)
¼ºñ½º Áß ¹ß»ýÇÏ´Â ExceptionÀ» Component·Î Àü¼ÛÇÑ´Ù. |
| Method Detail |
public void write(GauceDataSet dataSet)
throws java.io.IOException
dataSet - Component·Î Àü¼ÛÇÒ GauceDataSet
java.io.IOException - Àü¼ÛÁß ¹ß»ýÇÏ´Â ¿À·ù
public void write(byte[] buf)
throws java.io.IOException
buf - Àü¼ÛÇÒ byte¹è¿
java.io.IOException - Àü¼ÛÁß ¹ßÇàÇÏ´Â ¿À·ù
public void write(byte[] buf,
int off,
int len)
throws java.io.IOException
buf - Àü¼ÛÇÒ byte¹è¿off - offsetlen - Àü¼ÛÇÒ char¹è¿ÀÇ ±æÀÌ
java.io.IOException - Àü¼ÛÁß ¹ß»ýÇÏ´Â ¿À·ù
public void write(java.lang.String str)
throws java.io.IOException
str - Component·Î Àü¼ÛÇÒ String
java.io.IOException - Àü¼ÛÁß ¹ß»ýÇÏ´Â ¿À·ù
public void writeException(java.lang.String type,
java.lang.String code,
java.lang.String e)
type - ¿À·ù À¯Çücode - ¿À·ùÄÚµåe - ¿À·ù ³»¿ë
public void commit()
throws java.io.IOException
Gauce¼ºñ½ºÁß TransactionÀ» Á¾·áÇÏ´Â PacketÀ» ³ªÅ¸³½´Ù.Gauce¼ºñ½º µ¿ÀÛÁß ¹ß»ýÇÏ´Â ¿À·ù¸¦ ´©ÀûÇØ¼ ÀúÀåÇÑ´Ù. ¹ß»ýÇÏ´Â ¿À·ù¸¦ Stack¿¡ ÀúÀåÇϰí ÀÖ´Ù°¡ ¼ºñ½º Á¾·á½Ã Component·Î Áö±Ý±îÁö ¹ß»ýÇÑ ¸ðµç ¿À·ù¸¦ Packet(CSV)·Î ¸¸µé¾î¼ Àü¼ÛÇÑ´Ù. ¸¸¾à ¼º°øÀ̸é 0ÀÌ, ½ÇÆÐÀ̸é -1ÀÌ Component·Î Àü¼ÛµÇ¸ç, -1Àϰæ¿ì ¼ö¹ÝµÇ´Â¿À·ù°¡ °°ÀÌ Component·Î Àü¼ÛµÈ´Ù.
java.io.IOException - commitÇÏ´Â °úÁ¤¿¡¼ ¹ß»ýÇÏ´Â ¿À·ù
public void commit(java.lang.String msg)
throws java.io.IOException
¸¸¾à ¼º°øÀûÀÎ ÀÛ¾÷ÀÌ¸é ¼º°ø¸Þ½ÃÁö·Î Component¿¡°Ô Àü¼ÛµÇ¸ç ½ÇÆÐÀÌ¸é ¿À·ù¸Þ½ÃÁö¿¡ Ãß°¡µÇ¾î Àü¼ÛµÈ´Ù.
msg - Component¿¡°Ô Àü¼ÛÇÒ ¸Þ½ÃÁö
java.io.IOException - TransactionÀ» commitÇÏ´Â µ¿¾È ¹ß»ýÇÏ´Â ¿À·ù
public void flush()
throws java.io.IOException
java.io.IOException - Àü¼ÛÁß ¹ß»ýÇÏ´Â ¿À·ùpublic void enableFirstRow(GauceDataSet dataSet)
dataSet - ¼ºñ½º¿¡ µî·Ï½Ãų GauceDataSet
public void close()
throws java.io.IOException
java.io.IOException - Åë½ÅÁß ¹ß»ýÇÏ´Â ¿À·ù
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||