📄 queueparamsevent.html
字号:
<A NAME="QueueParamsEvent(java.lang.Object)"><!-- --></A><H3>QueueParamsEvent</H3><PRE>public <B>QueueParamsEvent</B>(java.lang.Object source)</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getQueue()"><!-- --></A><H3>getQueue</H3><PRE>public java.lang.String <B>getQueue</B>()</PRE><DL><DD>Returns the name of the queue.<P><DD><DL><DT><B>Returns:</B><DD>the name of the queue.</DL></DD></DL><HR><A NAME="setQueue(java.lang.String)"><!-- --></A><H3>setQueue</H3><PRE>public void <B>setQueue</B>(java.lang.String queue)</PRE><DL><DD>Sets the name of the queue.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>queue</CODE> - the name of the queue.</DL></DD></DL><HR><A NAME="getMax()"><!-- --></A><H3>getMax</H3><PRE>public java.lang.Integer <B>getMax</B>()</PRE><DL><DD>Returns the maximum number of people waiting in the queue or 0 for unlimited.<p> This corresponds to the <code>maxlen</code> setting in <code>queues.conf</code>.<P><DD><DL><DT><B>Returns:</B><DD>the maximum number of people waiting in the queue or 0 for unlimited.</DL></DD></DL><HR><A NAME="setMax(java.lang.Integer)"><!-- --></A><H3>setMax</H3><PRE>public void <B>setMax</B>(java.lang.Integer max)</PRE><DL><DD>Sets the maximum number of people waiting in the queue.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>max</CODE> - the maximum number of people waiting in the queue or 0 for unlimited.</DL></DD></DL><HR><A NAME="getStrategy()"><!-- --></A><H3>getStrategy</H3><PRE>public java.lang.String <B>getStrategy</B>()</PRE><DL><DD>Returns the strategy used for this queue.<p> Possible values are:<p> <ul> <li>ringall</li> <li>roundrobin</li> <li>leastrecent</li> <li>fewestcalls</li> <li>random</li> <li>rrmemory</li> </ul> Available since Asterisk 1.6<P><DD><DL><DT><B>Returns:</B><DD>the strategy used for this queue.<DT><B>Since:</B></DT> <DD>1.0.0</DD></DL></DD></DL><HR><A NAME="setStrategy(java.lang.String)"><!-- --></A><H3>setStrategy</H3><PRE>public void <B>setStrategy</B>(java.lang.String strategy)</PRE><DL><DD>Sets the strategy used for this queue.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>strategy</CODE> - the strategy used for this queue.<DT><B>Since:</B></DT> <DD>1.0.0</DD></DL></DD></DL><HR><A NAME="getCalls()"><!-- --></A><H3>getCalls</H3><PRE>public java.lang.Integer <B>getCalls</B>()</PRE><DL><DD>Returns the number of calls currently waiting in the queue.<P><DD><DL><DT><B>Returns:</B><DD>the number of calls currently waiting in the queue.</DL></DD></DL><HR><A NAME="setCalls(java.lang.Integer)"><!-- --></A><H3>setCalls</H3><PRE>public void <B>setCalls</B>(java.lang.Integer calls)</PRE><DL><DD>Sets the number of calls currently waiting in the queue.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>calls</CODE> - the number of calls currently waiting in the queue.</DL></DD></DL><HR><A NAME="getHoldtime()"><!-- --></A><H3>getHoldtime</H3><PRE>public java.lang.Integer <B>getHoldtime</B>()</PRE><DL><DD>Returns the current average holdtime for this queue (in seconds).<P><DD><DL><DT><B>Returns:</B><DD>the current average holdtime for this queue (in seconds).</DL></DD></DL><HR><A NAME="setHoldtime(java.lang.Integer)"><!-- --></A><H3>setHoldtime</H3><PRE>public void <B>setHoldtime</B>(java.lang.Integer holdtime)</PRE><DL><DD>Sets the current average holdtime for this queue.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>holdtime</CODE> - the current average holdtime for this queue (in seconds).</DL></DD></DL><HR><A NAME="getCompleted()"><!-- --></A><H3>getCompleted</H3><PRE>public java.lang.Integer <B>getCompleted</B>()</PRE><DL><DD>Returns the number of completed calls.<P><DD><DL><DT><B>Returns:</B><DD>the number of completed calls.</DL></DD></DL><HR><A NAME="setCompleted(java.lang.Integer)"><!-- --></A><H3>setCompleted</H3><PRE>public void <B>setCompleted</B>(java.lang.Integer complete)</PRE><DL><DD>Sets the number of completed calls.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>complete</CODE> - the number of completed calls.</DL></DD></DL><HR><A NAME="getAbandoned()"><!-- --></A><H3>getAbandoned</H3><PRE>public java.lang.Integer <B>getAbandoned</B>()</PRE><DL><DD>Returns the number of abandoned calls.<P><DD><DL><DT><B>Returns:</B><DD>the number of abandoned calls.</DL></DD></DL><HR><A NAME="setAbandoned(java.lang.Integer)"><!-- --></A><H3>setAbandoned</H3><PRE>public void <B>setAbandoned</B>(java.lang.Integer abandoned)</PRE><DL><DD>Sets the number of abandoned calls.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>abandoned</CODE> - the number of abandoned calls.</DL></DD></DL><HR><A NAME="getServiceLevel()"><!-- --></A><H3>getServiceLevel</H3><PRE>public java.lang.Integer <B>getServiceLevel</B>()</PRE><DL><DD>Returns the service level (in seconds) as defined by the <code>servicelevel</code> setting in <code>queues.conf</code>.<P><DD><DL><DT><B>Returns:</B><DD>the service level (in seconds).</DL></DD></DL><HR><A NAME="setServiceLevel(java.lang.Integer)"><!-- --></A><H3>setServiceLevel</H3><PRE>public void <B>setServiceLevel</B>(java.lang.Integer serviceLevel)</PRE><DL><DD>Sets the service level.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>serviceLevel</CODE> - the service level (in seconds).</DL></DD></DL><HR><A NAME="getServiceLevelPerf()"><!-- --></A><H3>getServiceLevelPerf</H3><PRE>public java.lang.Double <B>getServiceLevelPerf</B>()</PRE><DL><DD>Returns the ratio of calls answered within the specified service level per total completed calls (in percent).<P><DD><DL><DT><B>Returns:</B><DD>the ratio of calls answered within the specified service level per total completed calls (in percent).</DL></DD></DL><HR><A NAME="setServiceLevelPerf(java.lang.Double)"><!-- --></A><H3>setServiceLevelPerf</H3><PRE>public void <B>setServiceLevelPerf</B>(java.lang.Double serviceLevelPerf)</PRE><DL><DD>Sets the ratio of calls answered within the specified service level per total completed calls.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>serviceLevelPerf</CODE> - the ratio of calls answered within the specified service level per total completed calls (in percent).</DL></DD></DL><HR><A NAME="getWeight()"><!-- --></A><H3>getWeight</H3><PRE>public java.lang.Integer <B>getWeight</B>()</PRE><DL><DD>Returns the weight of this queue.<p> A queue can be assigned a 'weight' to ensure calls waiting in a higher priority queue will deliver its calls first. Only delays the lower weight queue's call if the member is also in the higher weight queue.<p> Available since Asterisk 1.2<P><DD><DL><DT><B>Returns:</B><DD>the weight of this queue or <code>null</code> if not supported by your version of Asterisk<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DD></DL><HR><A NAME="setWeight(java.lang.Integer)"><!-- --></A><H3>setWeight</H3><PRE>public void <B>setWeight</B>(java.lang.Integer weight)</PRE><DL><DD>Sets the weight of this queue.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>weight</CODE> - the weight of this queue<DT><B>Since:</B></DT> <DD>0.2</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/QueueParamsEvent.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Asterisk-Java</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/asteriskjava/manager/event/QueueMemberStatusEvent.html" title="class in org.asteriskjava.manager.event"><B>PREV CLASS</B></A> <A HREF="../../../../org/asteriskjava/manager/event/QueueStatusCompleteEvent.html" title="class in org.asteriskjava.manager.event"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/asteriskjava/manager/event/QueueParamsEvent.html" target="_top"><B>FRAMES</B></A> <A HREF="QueueParamsEvent.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_java.util.EventObject">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR>Copyright © 2004-2007 Stefan Reuter. All Rights Reserved.</BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -