本文整理了Java中redis.clients.jedis.Jedis.scriptExists()
方法的一些代码示例,展示了Jedis.scriptExists()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Jedis.scriptExists()
方法的具体详情如下:
包路径:redis.clients.jedis.Jedis
类名称:Jedis
方法名:scriptExists
暂无
代码示例来源:origin: sohutv/cachecloud
@Override
public Boolean execute(Jedis connection) {
return connection.scriptExists(sha1);
}
}.run(key);
代码示例来源:origin: sohutv/cachecloud
@Override
public List<Long> execute(Jedis connection) {
return connection.scriptExists(sha1);
}
}.runBinary(key);
代码示例来源:origin: sohutv/cachecloud
@Override
public List<Boolean> execute(Jedis connection) {
return connection.scriptExists(sha1);
}
}.run(key);
代码示例来源:origin: sohutv/cachecloud
@Override
public Boolean scriptExists(String sha1) {
String[] a = new String[1];
a[0] = sha1;
return scriptExists(a).get(0);
}
代码示例来源:origin: spring-projects/spring-data-redis
@Override
public List<Boolean> scriptExists(String... scriptSha1) {
Assert.notNull(scriptSha1, "Script digests must not be null!");
Assert.noNullElements(scriptSha1, "Script digests must not contain null elements!");
if (isQueueing() || isPipelined()) {
throw new UnsupportedOperationException();
}
try {
return connection.getJedis().scriptExists(scriptSha1);
} catch (Exception ex) {
throw convertJedisAccessException(ex);
}
}
代码示例来源:origin: apache/servicemix-bundles
@Override
public List<Long> execute(Jedis connection) {
return connection.scriptExists(sha1);
}
}.runBinary(sampleKey);
代码示例来源:origin: apache/servicemix-bundles
@Override
public List<Boolean> execute(Jedis connection) {
return connection.scriptExists(sha1);
}
}.run(sampleKey);
代码示例来源:origin: io.leopard/leopard-redis
@Override
public Boolean scriptExists(String sha1) {
return jedis.scriptExists(sha1);
}
代码示例来源:origin: io.leopard/leopard-redis
@Override
public List<Boolean> scriptExists(String... sha1) {
return jedis.scriptExists(sha1);
}
代码示例来源:origin: apache/servicemix-bundles
@Override
public Boolean execute(Jedis connection) {
return connection.scriptExists(sha1);
}
}.run(sampleKey);
代码示例来源:origin: apache/servicemix-bundles
@Override
public Boolean scriptExists(final String sha1) {
String[] a = new String[1];
a[0] = sha1;
return scriptExists(a).get(0);
}
代码示例来源:origin: com.netflix.spinnaker.kork/kork-jedis
@Override
public List<Long> scriptExists(byte[]... sha1) {
String command = "scriptExists";
return instrumented(command, () -> delegated.scriptExists(sha1));
}
代码示例来源:origin: com.netflix.spinnaker.kork/kork-jedis
@Override
public List<Boolean> scriptExists(String... sha1) {
String command = "scriptExists";
return instrumented(command, () -> delegated.scriptExists(sha1));
}
代码示例来源:origin: com.netflix.spinnaker.kork/kork-jedis
@Override
public Long scriptExists(byte[] sha1) {
String command = "scriptExists";
return instrumented(command, () -> delegated.scriptExists(sha1));
}
代码示例来源:origin: com.netflix.spinnaker.kork/kork-jedis
@Override
public Boolean scriptExists(String sha1) {
String command = "scriptExists";
return instrumented(command, () -> delegated.scriptExists(sha1));
}
代码示例来源:origin: org.nutz/nutz-integration-jedis
public List<Boolean> scriptExists(String... sha1) {
Jedis jedis = getJedis();
try {
return jedis.scriptExists(sha1);
} finally {Streams.safeClose(jedis);}
}
代码示例来源:origin: org.nutz/nutz-integration-jedis
public List<Long> scriptExists(byte[]... sha1) {
Jedis jedis = getJedis();
try {
return jedis.scriptExists(sha1);
} finally {Streams.safeClose(jedis);}
}
代码示例来源:origin: org.nutz/nutz-integration-jedis
public Boolean scriptExists(String sha1) {
Jedis jedis = getJedis();
try {
return jedis.scriptExists(sha1);
} finally {Streams.safeClose(jedis);}
}
代码示例来源:origin: org.nutz/nutz-integration-jedis
public Long scriptExists(byte[] sha1) {
Jedis jedis = getJedis();
try {
return jedis.scriptExists(sha1);
} finally {Streams.safeClose(jedis);}
}
代码示例来源:origin: org.springframework.data/spring-data-redis
@Override
public List<Boolean> scriptExists(String... scriptSha1) {
Assert.notNull(scriptSha1, "Script digests must not be null!");
Assert.noNullElements(scriptSha1, "Script digests must not contain null elements!");
if (isQueueing() || isPipelined()) {
throw new UnsupportedOperationException();
}
try {
return connection.getJedis().scriptExists(scriptSha1);
} catch (Exception ex) {
throw convertJedisAccessException(ex);
}
}
内容来源于网络,如有侵权,请联系作者删除!