예제 #1
0
 /// <summary>
 /// Close of this <seealso cref="ClientSession"/> by sending the request to the consensus module.
 /// <para>
 /// This method is idempotent.
 /// </para>
 /// </summary>
 public void Close()
 {
     if (null != _clusteredServiceAgent.GetClientSession(Id))
     {
         _clusteredServiceAgent.CloseClientSession(Id);
     }
 }
예제 #2
0
 /// <summary>
 /// Close of this <seealso cref="ClientSession"/> by sending the request to the consensus module.
 /// <para>
 /// This method is idempotent.
 /// </para>
 /// </summary>
 public void Close()
 {
     if (null != _cluster.GetClientSession(Id))
     {
         _cluster.CloseSession(Id);
     }
 }