public interface UserInTokenContainerTrackerService<T extends Token<T>,U extends User,TC extends TokenContainer<T>>
Consumer
added to a TokenContainer
Modifier and Type | Method and Description |
---|---|
void |
add(T token,
U user,
TC container)
Add (Associate E to Token), in
TokenContainer |
void |
clear()
Clear All
|
void |
clear(TC container)
Clear all keys related to a
TokenContainer |
void |
clear(U user) |
void |
clear(U user,
TC container) |
List<T> |
get(U user)
Get user added across
TokenContainer s |
List<T> |
get(U user,
TC container)
For e in
TokenContainer fetch any existing Token(s) |
boolean |
replace(T token,
U user,
TC container)
Replace (Associate E to Token), in
TokenContainer |
void add(T token, U user, TC container)
TokenContainer
token
- as Tuser
- as User
container
- as TCboolean replace(T token, U user, TC container)
TokenContainer
token
- as T to replceuser
- as User
container
- as TCList<T> get(U user, TC container)
TokenContainer
fetch any existing Token(s)e
- as Entitycontainer
- as TCToken
List<T> get(U user)
TokenContainer
suser
- as User
void clear(U user)
void clear(TC container)
TokenContainer
container
- void clear()
Copyright © 2018. All rights reserved.