|
@@ -1475,6 +1475,36 @@ kamcmd htable.seti test x 123
|
|
|
# Set first entry in array key x $sht(test=>x[0]) as integer
|
|
|
kamcmd htable.seti test x[0] 123
|
|
|
...
|
|
|
+</programlisting>
|
|
|
+ </section>
|
|
|
+ </section>
|
|
|
+ <section id="htable.rpc.setex">
|
|
|
+ <title>
|
|
|
+ <function moreinfo="none">htable.setex htable key expire</function>
|
|
|
+ </title>
|
|
|
+ <para>
|
|
|
+ Set the expire for an item in hash table.
|
|
|
+ </para>
|
|
|
+ <para>
|
|
|
+ Name: <emphasis>htable.setex</emphasis>
|
|
|
+ </para>
|
|
|
+ <para>Parameters:</para>
|
|
|
+ <itemizedlist>
|
|
|
+ <listitem><para>htable : name of the hash table</para>
|
|
|
+ </listitem>
|
|
|
+ <listitem><para>key : key name in the hash table</para>
|
|
|
+ </listitem>
|
|
|
+ <listitem><para>expire : integer value for the expire (seconds)</para>
|
|
|
+ </listitem>
|
|
|
+ </itemizedlist>
|
|
|
+ <para>
|
|
|
+ Example:
|
|
|
+ </para>
|
|
|
+<programlisting format="linespecific">
|
|
|
+...
|
|
|
+# set expire for $sht(test=>x) to 120 secs
|
|
|
+kamctl rpc htable.seti test x 120
|
|
|
+...
|
|
|
</programlisting>
|
|
|
</section>
|
|
|
<section id="htable.rpc.dump">
|