Your cart is empty
Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shoppingThis follows the Chain of Responsibility pattern, allowing layers to be composed. Each layer can intercept data operations and either return cached data or delegate to the next layer in the chain.
default CompletableFuture<Void> dispose(UUID uniqueId,
PlayerDbModel model,
boolean isDirty) CompletableFuture<? extends PlayerDbModel> fetchByUniqueId(UUID uniqueId) <T extends PlayerDbModel>
CompletableFuture<T> insert(T model) voidsetNextLayer(PlayerDataLayer nextLayer) <T extends PlayerDbModel>
CompletableFuture<Void> update(T model) The layer decides whether to return cached data or fetch from the next layer.
uniqueId - the player's unique IDThe layer can cache the data after the insert operation completes.
T - the concrete player database model typemodel - the player database model to insertThe layer can update its cache before passing the update to the next layer.
T - the concrete player database model typemodel - the player database model to updateThis allows layers to be composed in a chain of responsibility pattern.
nextLayer - the next layer to delegate to, or null to remove the chainThis is called when player data is being unloaded from memory. The layer should release any locks and update Redis if the data is dirty.
uniqueId - the player's unique IDmodel - the player database model (may be null)isDirty - whether the data is dirty and needs to be savedYour guide to the docs
Ask me anything about Phoenix Crates. I know these docs inside out, check the latest versions and changelogs, and can read your server logs.
Try asking
Your cart is empty
Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping