Package fr.fuzeblocks.homeplugin.tpa
Class RedisTpaRequestStore
java.lang.Object
fr.fuzeblocks.homeplugin.tpa.RedisTpaRequestStore
- All Implemented Interfaces:
- TpaRequestStore
The type Redis tpa request store.
- 
Constructor SummaryConstructorsConstructorDescriptionRedisTpaRequestStore(redis.clients.jedis.JedisPooled jedis) Instantiates a new Redis tpa request store.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddTpaRequest(UUID sender, UUID target) Add tpa request.Gets all tpa senders.getSenderForTarget(UUID target) Gets sender for target.getTargetWithSender(UUID sender) Gets target with sender.getTpaTarget(UUID senderId) Gets tpa target.booleanhasIncomingTpa(UUID target) Has incoming tpa boolean.booleanhasTpaRequest(UUID sender, UUID target) Has tpa request boolean.voidremoveTpaRequest(UUID sender, UUID target) Remove tpa request.
- 
Constructor Details- 
RedisTpaRequestStorepublic RedisTpaRequestStore(redis.clients.jedis.JedisPooled jedis) Instantiates a new Redis tpa request store.- Parameters:
- jedis- the jedis
 
 
- 
- 
Method Details- 
addTpaRequestDescription copied from interface:TpaRequestStoreAdd tpa request.- Specified by:
- addTpaRequestin interface- TpaRequestStore
- Parameters:
- sender- the sender
- target- the target
 
- 
hasTpaRequestDescription copied from interface:TpaRequestStoreHas tpa request boolean.- Specified by:
- hasTpaRequestin interface- TpaRequestStore
- Parameters:
- sender- the sender
- target- the target
- Returns:
- the boolean
 
- 
removeTpaRequestDescription copied from interface:TpaRequestStoreRemove tpa request.- Specified by:
- removeTpaRequestin interface- TpaRequestStore
- Parameters:
- sender- the sender
- target- the target
 
- 
getTargetWithSenderDescription copied from interface:TpaRequestStoreGets target with sender.- Specified by:
- getTargetWithSenderin interface- TpaRequestStore
- Parameters:
- sender- the sender
- Returns:
- the target with sender
 
- 
hasIncomingTpaDescription copied from interface:TpaRequestStoreHas incoming tpa boolean.- Specified by:
- hasIncomingTpain interface- TpaRequestStore
- Parameters:
- target- the target
- Returns:
- the boolean
 
- 
getSenderForTargetDescription copied from interface:TpaRequestStoreGets sender for target.- Specified by:
- getSenderForTargetin interface- TpaRequestStore
- Parameters:
- target- the target
- Returns:
- the sender for target
 
- 
getTpaTargetDescription copied from interface:TpaRequestStoreGets tpa target.- Specified by:
- getTpaTargetin interface- TpaRequestStore
- Parameters:
- senderId- the sender id
- Returns:
- the tpa target
 
- 
getAllTpaSendersDescription copied from interface:TpaRequestStoreGets all tpa senders.- Specified by:
- getAllTpaSendersin interface- TpaRequestStore
- Returns:
- the all tpa senders
 
 
-