public class SuidService extends Object
This service looks up the datasource named SuidRWDS and
fetches suid blocks from it.
NOTE: Currently, only MySql is supported.
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_REQUEST_BLOCKS |
| Constructor and Description |
|---|
SuidService() |
| Modifier and Type | Method and Description |
|---|---|
Suid |
next() |
Suid[] |
nextBlocks(int count)
Gets the next
count ID blocks. |
public static final int MAX_REQUEST_BLOCKS
public Suid[] nextBlocks(int count)
count ID blocks.
Parameter count must be in the range 1 .. 8. If count is less than
1, it is set to 1. If count is greater than 8, it is
set to 8.
count - The number of blocks to get. Is forced to be in range 1 .. 8.Suids.public Suid next()
Copyright © 2015. All rights reserved.