X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2FClientPutComplexDir.java;h=c370eaf2bccec26df4b6dd109e3c3989c425b7a7;hb=375e699cec4c959fe4657da3798a17357dcd24d4;hp=55e57792f62eb6f25833b013a6f3f43593f5d40f;hpb=508624458578f01a393f8b44f32b98b40054fdc8;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/ClientPutComplexDir.java b/src/main/java/net/pterodactylus/fcp/ClientPutComplexDir.java index 55e5779..c370eaf 100644 --- a/src/main/java/net/pterodactylus/fcp/ClientPutComplexDir.java +++ b/src/main/java/net/pterodactylus/fcp/ClientPutComplexDir.java @@ -102,6 +102,17 @@ public class ClientPutComplexDir 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)); + } + + /** * Sets whether the request is on the global queue. * * @param global