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 SummaryConstructorsConstructorDescriptionRedisSpawnStore(redis.clients.jedis.JedisPooled jedis) Instantiates a new Redis spawn store.
- 
Method Summary
- 
Constructor Details- 
RedisSpawnStorepublic RedisSpawnStore(redis.clients.jedis.JedisPooled jedis) Instantiates a new Redis spawn store.- Parameters:
- jedis- the jedis
 
 
- 
- 
Method Details- 
getSpawnpublic org.bukkit.Location getSpawn()Description copied from interface:SpawnRequestStoreGets spawn.- Specified by:
- getSpawnin interface- SpawnRequestStore
- Returns:
- the spawn
 
- 
setSpawnpublic void setSpawn(org.bukkit.Location location) Description copied from interface:SpawnRequestStoreSets spawn.- Specified by:
- setSpawnin interface- SpawnRequestStore
- Parameters:
- location- the location
 
- 
clearSpawnpublic void clearSpawn()Description copied from interface:SpawnRequestStoreClear spawn.- Specified by:
- clearSpawnin interface- SpawnRequestStore
 
 
-