本文整理了Java中com.unboundid.ldap.sdk.LDAPConnection.getConnectionStatistics()
方法的一些代码示例,展示了LDAPConnection.getConnectionStatistics()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。LDAPConnection.getConnectionStatistics()
方法的具体详情如下:
包路径:com.unboundid.ldap.sdk.LDAPConnection
类名称:LDAPConnection
方法名:getConnectionStatistics
[英]Retrieves the connection statistics for this LDAP connection.
[中]检索此LDAP连接的连接统计信息。
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumAddResponses(
responseTime);
break;
case DELETE:
connection.getConnectionStatistics().incrementNumDeleteResponses(
responseTime);
break;
case MODIFY:
connection.getConnectionStatistics().incrementNumModifyResponses(
responseTime);
break;
case MODIFY_DN:
connection.getConnectionStatistics().incrementNumModifyDNResponses(
responseTime);
break;
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumSearchResponses(
numEntries, numReferences, System.nanoTime() - createTime);
connection.getConnectionStatistics().incrementNumSearchResponses(
numEntries, numReferences, System.nanoTime() - createTime);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
connection.getConnectionStatistics().incrementNumSearchResponses(
numEntries, numReferences, System.nanoTime() - createTime);
connection.getConnectionStatistics().incrementNumSearchResponses(
numEntries, numReferences, System.nanoTime() - createTime);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
connection.getConnectionStatistics().incrementNumBindRequests();
connection.sendMessage(requestMessage);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumBindRequests();
connection.sendMessage(requestMessage);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumExtendedRequests();
connection.sendMessage(message);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumBindRequests();
connection.sendMessage(requestMessage);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
connection.getConnectionStatistics().incrementNumBindRequests();
connection.sendMessage(requestMessage);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumCompareResponses(
responseTime);
resultListener.compareResultReceived(asyncRequestID, result);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
connection.getConnectionStatistics().incrementNumCompareResponses(
responseTime);
resultListener.compareResultReceived(asyncRequestID, result);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumBindRequests();
connection.sendMessage(message);
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
connection.getConnectionStatistics().incrementNumBindResponses(
System.nanoTime() - requestTime);
return (BindResult) response;
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumBindResponses(
System.nanoTime() - requestTime);
return (BindResult) response;
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
connection.getConnectionStatistics().incrementNumExtendedResponses(
System.nanoTime() - requestTime);
return (ExtendedResult) response;
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumExtendedResponses(
System.nanoTime() - requestTime);
return (ExtendedResult) response;
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-minimal-edition
connection.getConnectionStatistics().incrementNumBindResponses(
System.nanoTime() - requestTime);
if (response instanceof ConnectionClosedResponse)
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumCompareRequests();
connection.sendMessage(message);
return asyncRequestID;
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumDeleteRequests();
connection.sendMessage(message);
return asyncRequestID;
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumSearchRequests();
connection.sendMessage(message);
return asyncRequestID;
代码示例来源:origin: com.unboundid/unboundid-ldapsdk-commercial-edition
connection.getConnectionStatistics().incrementNumModifyRequests();
connection.sendMessage(message);
return asyncRequestID;
内容来源于网络,如有侵权,请联系作者删除!