X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FClientPut.java;h=809146ae18439d710db9180a44bc0521bd1c4115;hb=375e699cec4c959fe4657da3798a17357dcd24d4;hp=f7dfabc3bbc59a8302f22572630d0f576ca9b209;hpb=c66c2899de040c50abc2c8638ca242fe0bc1af1b;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/ClientPut.java b/src/main/java/net/pterodactylus/fcp/ClientPut.java index f7dfabc..809146a 100644 --- a/src/main/java/net/pterodactylus/fcp/ClientPut.java +++ b/src/main/java/net/pterodactylus/fcp/ClientPut.java @@ -129,6 +129,17 @@ public class ClientPut extends FcpMessage { } /** + * Sets whether an insert request should be forked when it is cached. + * + * @param forkOnCacheable + * {@code true} to fork the insert when it is cached, {@code + * false} otherwise + */ + public void setForkOnCacheable(boolean forkOnCacheable) { + setField("ForkOnCacheable", String.valueOf(forkOnCacheable)); + } + + /** * Determines whether this request appears on the global queue. * * @param global