voucher-no

voucher NO. generator

License

License

GroupId

GroupId

com.github.bingoohuang
ArtifactId

ArtifactId

voucher-no
Last Version

Last Version

0.0.7
Release Date

Release Date

Type

Type

jar
Description

Description

voucher-no
voucher NO. generator
Project URL

Project URL

http://github.com/bingoohuang/voucher-no
Source Code Management

Source Code Management

http://github.com/bingoohuang/voucher-no

Download voucher-no

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
cglib : cglib-nodep jar 3.2.9
com.github.bingoohuang : java-utils jar 0.0.13
redis.clients : jedis jar 2.9.0

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok Optional jar 1.18.4

test (5)

Group / Artifact Type Version
org.jmockit : jmockit jar 1.42
junit : junit jar 4.12
com.google.truth : truth jar 0.42
org.slf4j : slf4j-simple jar 1.8.0-beta2
com.github.kstyrc : embedded-redis jar 0.6

Project Modules

There are no modules declared in this project.

Build Status Coverage Status Maven Central License

voucher-no

Random Voucher No generator based on bloom filter and redis bit set.

// create voucher no generator to generate fixed length of 12 base on redis bitset with key Voucher:No
VoucherNo voucherNo = new VoucherNo(new Jedis("127.0.0.1", 6379), "Voucher:No", 12);

String no = voucherNo.next();

// 438744088222

Versions

Version
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1