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

A

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

B

BLOCK_SIZE - Static variable in class ws.suid.Suid
The number of blocks available.

C

charAt(int) - Method in class ws.suid.Suid
Returns the char present at the given index in the base-36 string representation of this suid.
compareTo(Suid) - Method in class ws.suid.Suid
Compares this suid to that for order.
convertToDatabaseColumn(Suid) - Method in class ws.suid.Suid.SuidConverter
 
convertToEntityAttribute(Long) - Method in class ws.suid.Suid.SuidConverter
 
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

DEL - Static variable in class ws.suid.SuidRecord
 
deserialize(JsonParser, DeserializationContext) - Method in class ws.suid.Suid.Deserializer
 
Deserializer() - Constructor for class ws.suid.Suid.Deserializer
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class ws.suid.SuidServlet
Handles incoming GET requests.
doubleValue() - Method in class ws.suid.Suid
Returns the value of this Suid as a double.

E

equals(Object) - Method in class ws.suid.Suid
Compares this suid to that for equality.

F

floatValue() - Method in class ws.suid.Suid
Use Suid.longValue() instead.

G

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

H

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

I

IDSIZE - Static variable in class ws.suid.Suid
The number of IDs available in each block.
intValue() - Method in class ws.suid.Suid
Use Suid.longValue() instead.

L

length() - Method in class ws.suid.Suid
Returns the length of the string representation of this suid.
longValue() - Method in class ws.suid.Suid
Returns this suid's underlying value.
looksValid(String) - Static method in class ws.suid.Suid
Indicates whether the given value looks like a valid suid string.

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
MAX_REQUEST_BLOCKS - Static variable in class ws.suid.SuidService
Max. number of suid blocks that may be requested in a single request.

N

next() - Method in class ws.suid.SuidService
Fetches a single suid.
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)
OFFSET_RESERVED - Static variable in class ws.suid.Suid
Offset of reserved bits within suid (from LSB)
OFFSET_SHARD - Static variable in class ws.suid.Suid
Offset of shard bit within suid (from LSB)

S

serialize(Suid, JsonGenerator, SerializerProvider) - Method in class ws.suid.Suid.Serializer
 
Serializer() - Constructor for class ws.suid.Suid.Serializer
 
SHARDSIZE - Static variable in class ws.suid.Suid
The number of shards available
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.
Suid(String) - Constructor for class ws.suid.Suid
Creates a suid based on the given string value.
Suid(long) - Constructor for class ws.suid.Suid
Creates a suid based on the given long value.
Suid(long, byte, byte) - Constructor for class ws.suid.Suid
Creates a suid based on the given block, id and shard constituent parts.
Suid.Deserializer - Class in ws.suid
Deserializes from JSON
Suid.Serializer - Class in ws.suid
Serializes to JSON
Suid.SuidConverter - Class in ws.suid
Converts Suid to/from it's database representation.
SuidConverter() - Constructor for class ws.suid.Suid.SuidConverter
 
SuidRecord - Class in ws.suid
Stores data about issued Suid ID blocks.
SuidRecord() - Constructor for class ws.suid.SuidRecord
 
SuidRecord(Byte) - Constructor for class ws.suid.SuidRecord
 
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

toLong() - Method in class ws.suid.Suid
Converts this Suid to a Java Long.
toLong(List<Suid>) - Static method in class ws.suid.Suid
Converts the given list of ids to a list of longs.
toString() - Method in class ws.suid.Suid
Returns a base-36 string representation of this suid.

V

valueOf(List<Long>) - Static method in class ws.suid.Suid
Converts the given list of ids to a list of Suids.

W

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

Copyright © 2016. All rights reserved.