net.spy.memcached.MemcachedClient.checkState()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(107)

本文整理了Java中net.spy.memcached.MemcachedClient.checkState()方法的一些代码示例,展示了MemcachedClient.checkState()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MemcachedClient.checkState()方法的具体详情如下:
包路径:net.spy.memcached.MemcachedClient
类名称:MemcachedClient
方法名:checkState

MemcachedClient.checkState介绍

暂无

代码示例

代码示例来源:origin: com.amazonaws/elasticache-java-cluster-client

private CountDownLatch broadcastOp(BroadcastOpFactory of,
  Collection<MemcachedNode> nodes, boolean checkShuttingDown) {
 checkState();
 if (checkShuttingDown && shuttingDown) {
  throw new IllegalStateException("Shutting down");
 }
 return mconn.broadcastOperation(of, nodes);
}

代码示例来源:origin: com.amazonaws/elasticache-java-cluster-client

private void enqueueOperation(String key, Operation op){
 checkState();
 mconn.enqueueOperation(key, op);
}

代码示例来源:origin: com.google.code.maven-play-plugin.spy/spymemcached

/**
 * (internal use) Add a raw operation to a numbered connection.
 * This method is exposed for testing.
 *
 * @param which server number
 * @param op the operation to perform
 * @return the Operation
 */
Operation addOp(final String key, final Operation op) {
  validateKey(key);
  checkState();
  conn.addOperation(key, op);
  return op;
}

代码示例来源:origin: com.google.code.maven-play-plugin.spy/memcached

/**
 * (internal use) Add a raw operation to a numbered connection.
 * This method is exposed for testing.
 *
 * @param which server number
 * @param op the operation to perform
 * @return the Operation
 */
Operation addOp(final String key, final Operation op) {
  validateKey(key);
  checkState();
  conn.addOperation(key, op);
  return op;
}

代码示例来源:origin: naver/arcus-java-client

/**
 * (internal use) Add a raw operation to a numbered connection.
 * This method is exposed for testing.
 *
 * @param which server number
 * @param op    the operation to perform
 * @return the Operation
 */
protected Operation addOp(final String key, final Operation op) {
 validateKey(key);
 checkState();
 conn.addOperation(key, op);
 return op;
}

代码示例来源:origin: com.google.code.maven-play-plugin.spy/spymemcached

checkState();
conn.addOperations(mops);
return new BulkGetFuture<T>(m, ops, latch);

代码示例来源:origin: com.google.code.maven-play-plugin.spy/memcached

checkState();
conn.addOperations(mops);
return new BulkGetFuture<T>(m, ops, latch);

代码示例来源:origin: naver/arcus-java-client

checkState();
for (Map.Entry<MemcachedNode, List<Collection<String>>> me
    : chunks.entrySet()) {

相关文章