StoragePolicy enum moved to new ArbitraryDataStorageManager class

This commit is contained in:
CalDescent 2021-10-31 20:32:32 +00:00
parent 28fb11068e
commit 4882cc92a8
3 changed files with 16 additions and 9 deletions

View File

@ -42,14 +42,6 @@ public class ArbitraryDataManager extends Thread {
private volatile boolean isStopping = false;
public enum StoragePolicy {
FOLLOWED_AND_VIEWED,
FOLLOWED,
VIEWED,
ALL,
NONE
}
/**
* Map of recent requests for ARBITRARY transaction data file lists.
* <p>

View File

@ -0,0 +1,15 @@
package org.qortal.controller.arbitrary;
public class ArbitraryDataStorageManager {
public enum StoragePolicy {
FOLLOWED_AND_VIEWED,
FOLLOWED,
VIEWED,
ALL,
NONE
}
public ArbitraryDataStorageManager() {
}
}

View File

@ -21,7 +21,7 @@ import org.eclipse.persistence.exceptions.XMLMarshalException;
import org.eclipse.persistence.jaxb.JAXBContextFactory;
import org.eclipse.persistence.jaxb.UnmarshallerProperties;
import org.qortal.block.BlockChain;
import org.qortal.controller.arbitrary.ArbitraryDataManager.*;
import org.qortal.controller.arbitrary.ArbitraryDataStorageManager.*;
import org.qortal.crosschain.Bitcoin.BitcoinNet;
import org.qortal.crosschain.Litecoin.LitecoinNet;
import org.qortal.crosschain.Dogecoin.DogecoinNet;