Skip navigation links
A C D E F G H I L M N O R S T V W 

A

ALPHABET - Static variable in class ws.suid.Suid
Alphabet used when converting suid to string

C

charAt(int) - Method in class ws.suid.Suid
Returns the char present at the given index in the compressed string representation of this suid.
compareTo(Suid) - Method in class ws.suid.Suid
 
compress(String) - Static method in class ws.suid.Suid
Compresses the given base32 string.
COUNT_BLOCK - Static variable in class ws.suid.Suid
Number of block bits
COUNT_ID - Static variable in class ws.suid.Suid
Number of ID bits
COUNT_RESERVED - Static variable in class ws.suid.Suid
Number of reserved bits
COUNT_SHARD - Static variable in class ws.suid.Suid
Number of shard bits

D

decompress(String) - Static method in class ws.suid.Suid
Decompresses the given compressed string.
doGet(HttpServletRequest, HttpServletResponse) - Method in class ws.suid.SuidServlet
Handles incoming GET requests.
doubleValue() - Method in class ws.suid.Suid
 

E

equals(Object) - Method in class ws.suid.Suid
 

F

floatValue() - Method in class ws.suid.Suid
 

G

getBlock() - Method in class ws.suid.Suid
Gets the block number.
getId() - Method in class ws.suid.Suid
Gets the generated ID.
getShard() - Method in class ws.suid.Suid
Gets the shard ID.

H

hashCode() - Method in class ws.suid.Suid
 

I

init(int) - Method in class ws.suid.SuidService
Initializes this SuidService based on the given shard.
init() - Method in class ws.suid.SuidServlet
Initializes this servlet and the associated SuidService.
intValue() - Method in class ws.suid.Suid
 
isBlock() - Method in class ws.suid.Suid
Indicates whether this Suid is a block suid.

L

length() - Method in class ws.suid.Suid
Returns the length of the compressed string representation of this suid.
longValue() - Method in class ws.suid.Suid
Returns this suid's underlying value.

M

MASK_BLOCK - Static variable in class ws.suid.Suid
Mask that singles out the block bits
MASK_ID - Static variable in class ws.suid.Suid
Mask that singles out the ID bits
MASK_RESERVED - Static variable in class ws.suid.Suid
Mask that singles out the reserved bits
MASK_SHARD - Static variable in class ws.suid.Suid
Mask that singles out the shard bits
MASK_TOKEN - Static variable in class ws.suid.Suid
Mask that singles out a token
MAX_REQUEST_BLOCKS - Static variable in class ws.suid.SuidService
 

N

nextBlocks(int) - Method in class ws.suid.SuidService
Gets the next count ID blocks.

O

OFFSET_BLOCK - Static variable in class ws.suid.Suid
Offset of block bits within suid (from LSB)
OFFSET_ID - Static variable in class ws.suid.Suid
Offset of ID bits within suid (from LSB)

R

REPLACEMENT_SYMBOLS - Static variable in class ws.suid.Suid
Replacement symbols used when converting suid to string

S

subSequence(int, int) - Method in class ws.suid.Suid
 
Suid - Class in ws.suid
Stores a 53-bit service-unique ID in a 64-bit long.
SuidService - Class in ws.suid
Service that fetches suid ID blocks from the database.
SuidService() - Constructor for class ws.suid.SuidService
 
SuidServlet - Class in ws.suid
Listens for incoming requests for suid blocks and delegates them to the SuidService.
SuidServlet() - Constructor for class ws.suid.SuidServlet
Empty constructor, does nothing.

T

toBase32() - Method in class ws.suid.Suid
Returns a base-32 String representation of this suid that is not compressed.
toString() - Method in class ws.suid.Suid
Returns a compressed base-32 string representation of this suid.

V

valueOf(long) - Static method in class ws.suid.Suid
Creates a suid based on the given long value.
valueOf(long, int, byte) - Static method in class ws.suid.Suid
Creates a suid based on the given block number, generator id and shard id.
valueOf(String) - Static method in class ws.suid.Suid
Creates a suid based on the given compressed string.
valueOfBase32(String) - Static method in class ws.suid.Suid
Creates a suid based on the given base32 string.

W

ws.suid - package ws.suid
 
A C D E F G H I L M N O R S T V W 
Skip navigation links

Copyright © 2015. All rights reserved.