|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.edg.info.Queue
Queue of tuples in a producer.
Field Summary | |
static int |
s_maxTupleMemory
Max memory available to tuples (in bytes). |
Method Summary | |
void |
clear()
Removes all tuples from the queue and reduces curentTotalMemory appropriately. |
static int |
getCurrentTotalMemory()
Deprecated. |
long |
getLastInsertTimeMillis()
|
long |
getLastSuccessfulInsertTimeMillis()
|
static int |
getMaxTupleMemory()
Deprecated. |
long |
getMaxTupleMemoryKB()
|
long |
getTotalNumberInsertedTuples()
|
long |
getTotalTupleMemoryUsedKB()
|
long |
getTupleMemoryUsedKB()
|
void |
incTotalNumberInsertedTuples()
Increments the total number of inserted tuples by one. |
void |
markAllTuplesAsStreamed()
Mark all tuples in the queue as having had a chance to be streamed. |
static void |
setMaxTupleMemory(int mtm)
Sets the maximum tuple memory. |
void |
updateLastInsertTime()
Updates the last insert time in milliseconds. |
void |
updateLastSuccessfulInsertTime()
Updates the last successful insert time in milliseconds. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int s_maxTupleMemory
Method Detail |
public void clear()
public void markAllTuplesAsStreamed()
public static void setMaxTupleMemory(int mtm)
mtm
- Maximum tuple memory (in bytes).public static int getCurrentTotalMemory()
public static int getMaxTupleMemory()
public void updateLastInsertTime()
public void updateLastSuccessfulInsertTime()
public long getLastInsertTimeMillis()
public long getLastSuccessfulInsertTimeMillis()
public long getTotalNumberInsertedTuples()
public void incTotalNumberInsertedTuples()
public long getTupleMemoryUsedKB()
public long getMaxTupleMemoryKB()
public long getTotalTupleMemoryUsedKB()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |