| Package | Description |
|---|---|
| net.pterodactylus.util.storage |
| Modifier and Type | Method and Description |
|---|---|
void |
Storage.add(T storable)
Adds a storable to this storage.
|
void |
Storage.compact()
Compacts the directory.
|
byte[] |
Storable.getBuffer()
Writes the contents of this
Storable to a byte array. |
T |
Storage.load(long id)
Loads a storable.
|
void |
Storage.open()
Opens this storage.
|
void |
Storage.remove(long id)
Removes the storable with the given ID.
|
void |
Storage.remove(T storable)
Removes a storable.
|
Copyright © 2026. All rights reserved.