redis-template

Redis Template

License

License

Categories

Categories

Redis Data Databases
GroupId

GroupId

com.github.yamingd.argo
ArtifactId

ArtifactId

redis-template
Last Version

Last Version

2.1
Release Date

Release Date

Type

Type

jar
Description

Description

redis-template
Redis Template
Project URL

Project URL

https://github.com/yamingd/argo-redis
Source Code Management

Source Code Management

https://github.com/yamingd/argo-redis

Download redis-template

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.yamingd.argo/redis-template/ -->
<dependency>
    <groupId>com.github.yamingd.argo</groupId>
    <artifactId>redis-template</artifactId>
    <version>2.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.yamingd.argo/redis-template/
implementation 'com.github.yamingd.argo:redis-template:2.1'
// https://jarcasting.com/artifacts/com.github.yamingd.argo/redis-template/
implementation ("com.github.yamingd.argo:redis-template:2.1")
'com.github.yamingd.argo:redis-template:jar:2.1'
<dependency org="com.github.yamingd.argo" name="redis-template" rev="2.1">
  <artifact name="redis-template" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.yamingd.argo', module='redis-template', version='2.1')
)
libraryDependencies += "com.github.yamingd.argo" % "redis-template" % "2.1"
[com.github.yamingd.argo/redis-template "2.1"]

Dependencies

compile (7)

Group / Artifact Type Version
org.msgpack : msgpack jar 0.6.12
ch.qos.logback : logback-classic jar 1.0.13
redis.clients : jedis jar 2.7.3
org.slf4j : slf4j-api jar 1.7.5
com.google.guava : guava jar 18.0
org.slf4j : jul-to-slf4j jar 1.5.11
com.github.yamingd.argo : argo-yaml jar 1.0

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

argo-redis

redis template with spring, redis

Usage

  1. place config file (redis.yaml) at classPath
maxActive: 100
maxIdle: 100
timeout: 5000
host: 127.0.0.1
port: 6379
testOnBorrow: true
testWhileIdle: true

  1. Inject RedisBucket
@Autowired
RedisBuket redisBuket;

  1. you will get it

Versions

Version
2.1
2.0
1.0