Package net.minestom.server.storage
Class StorageOptions
java.lang.Object
net.minestom.server.storage.StorageOptions
public class StorageOptions
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description StorageOptions()
-
Method Summary
Modifier and Type Method Description boolean
hasCompression()
Gets if compression should be enabled.StorageOptions
setCompression(boolean compression)
Defines if the storage solution should use compression.
-
Constructor Details
-
StorageOptions
public StorageOptions()
-
-
Method Details
-
hasCompression
public boolean hasCompression()Gets if compression should be enabled.- Returns:
- true if compression should be enabled, false otherwise
-
setCompression
Defines if the storage solution should use compression.- Parameters:
compression
- true to enable compression, false otherwise- Returns:
- the reference to the current options
-