cleanup
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m26s
All checks were successful
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Successful in 1m26s
This commit is contained in:
parent
a1755948c1
commit
edb02c2ba1
@ -1,4 +1,4 @@
|
||||
package cc.fascinated.model.cache;
|
||||
package cc.fascinated.common;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
@ -1,5 +1,6 @@
|
||||
package cc.fascinated.model.cache;
|
||||
|
||||
import cc.fascinated.common.CacheInformation;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import lombok.*;
|
||||
import org.springframework.data.annotation.Id;
|
||||
@ -11,7 +12,7 @@ import java.util.Map;
|
||||
@Setter @Getter @ToString
|
||||
@NoArgsConstructor
|
||||
@RedisHash(value = "mojangEndpointStatus", timeToLive = 60L) // 1 minute (in seconds)
|
||||
public final class CachedEndpointStatus extends CachedResponse implements Serializable {
|
||||
public class CachedEndpointStatus extends CachedResponse implements Serializable {
|
||||
|
||||
/**
|
||||
* The id for this endpoint cache.
|
||||
|
@ -1,5 +1,6 @@
|
||||
package cc.fascinated.model.cache;
|
||||
|
||||
import cc.fascinated.common.CacheInformation;
|
||||
import cc.fascinated.model.server.MinecraftServer;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import lombok.*;
|
||||
@ -14,7 +15,7 @@ import java.io.Serializable;
|
||||
@Setter @Getter @ToString
|
||||
@NoArgsConstructor
|
||||
@RedisHash(value = "server", timeToLive = 60L) // 1 minute (in seconds)
|
||||
public final class CachedMinecraftServer extends CachedResponse implements Serializable {
|
||||
public class CachedMinecraftServer extends CachedResponse implements Serializable {
|
||||
/**
|
||||
* The id of this cached server.
|
||||
*/
|
||||
|
@ -1,5 +1,6 @@
|
||||
package cc.fascinated.model.cache;
|
||||
|
||||
import cc.fascinated.common.CacheInformation;
|
||||
import cc.fascinated.model.player.Player;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import lombok.Getter;
|
||||
@ -19,7 +20,7 @@ import java.util.UUID;
|
||||
@Setter @Getter
|
||||
@NoArgsConstructor
|
||||
@RedisHash(value = "player", timeToLive = 60L * 60L) // 1 hour (in seconds)
|
||||
public final class CachedPlayer extends CachedResponse implements Serializable {
|
||||
public class CachedPlayer extends CachedResponse implements Serializable {
|
||||
/**
|
||||
* The unique id of the player.
|
||||
*/
|
||||
|
@ -1,5 +1,6 @@
|
||||
package cc.fascinated.model.cache;
|
||||
|
||||
import cc.fascinated.common.CacheInformation;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import lombok.Getter;
|
||||
import lombok.ToString;
|
||||
@ -14,7 +15,7 @@ import java.util.UUID;
|
||||
@Getter
|
||||
@ToString
|
||||
@RedisHash(value = "playerName", timeToLive = 60L * 60L * 6) // 6 hours (in seconds)
|
||||
public final class CachedPlayerName extends CachedResponse {
|
||||
public class CachedPlayerName extends CachedResponse {
|
||||
/**
|
||||
* The id of the player.
|
||||
*/
|
||||
|
@ -1,5 +1,6 @@
|
||||
package cc.fascinated.model.cache;
|
||||
|
||||
import cc.fascinated.common.CacheInformation;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user