Package fr.fuzeblocks.homeplugin.rtp
Interface RtpRequestStore
- All Known Implementing Classes:
LocalRtpRequestStore,RedisRtpRequestStore
public interface RtpRequestStore
The interface Rtp request store.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddRtpRequest(UUID playerId, Long timestamp) Add rtp request.Gets all rtp requests.getRtpRequest(UUID playerId) Gets rtp request.booleanhasRtpRequest(UUID playerId) Has rtp request boolean.voidremoveRtpRequest(UUID playerId) Remove rtp request.
-
Method Details
-
addRtpRequest
Add rtp request.- Parameters:
playerId- the player idtimestamp- the timestamp
-
getRtpRequest
Gets rtp request.- Parameters:
playerId- the player id- Returns:
- the rtp request
-
removeRtpRequest
Remove rtp request.- Parameters:
playerId- the player id
-
hasRtpRequest
Has rtp request boolean.- Parameters:
playerId- the player id- Returns:
- the boolean
-
getAllRtpRequests
Gets all rtp requests.- Returns:
- the all rtp requests
-