Package fr.fuzeblocks.homeplugin.spawn
Class RedisSpawnStore
java.lang.Object
fr.fuzeblocks.homeplugin.spawn.RedisSpawnStore
- All Implemented Interfaces:
SpawnRequestStore
The type Redis spawn store.
-
Constructor Summary
ConstructorsConstructorDescriptionRedisSpawnStore(redis.clients.jedis.JedisPooled jedis) Instantiates a new Redis spawn store. -
Method Summary
-
Constructor Details
-
RedisSpawnStore
public RedisSpawnStore(redis.clients.jedis.JedisPooled jedis) Instantiates a new Redis spawn store.- Parameters:
jedis- the jedis
-
-
Method Details
-
getSpawn
public org.bukkit.Location getSpawn()Description copied from interface:SpawnRequestStoreGets spawn.- Specified by:
getSpawnin interfaceSpawnRequestStore- Returns:
- the spawn
-
setSpawn
public void setSpawn(org.bukkit.Location location) Description copied from interface:SpawnRequestStoreSets spawn.- Specified by:
setSpawnin interfaceSpawnRequestStore- Parameters:
location- the location
-
clearSpawn
public void clearSpawn()Description copied from interface:SpawnRequestStoreClear spawn.- Specified by:
clearSpawnin interfaceSpawnRequestStore
-