public interface BlockingManager
| Modifier and Type | Method and Description |
|---|---|
void |
fetchBlacklist()
Fetches blacklist.
|
Map<String,io.bitsensor.lib.entity.BlockedAttacker> |
getBlacklist()
Returns a map of blocked attackers stored in memory.
|
io.bitsensor.lib.entity.BlockedAttacker |
getBlocking(String id)
Returns a blocked attacker stored in the blacklist map.
|
Map<String,io.bitsensor.lib.entity.BlockedAttacker> getBlacklist()
io.bitsensor.lib.entity.BlockedAttacker getBlocking(String id)
id - identifier of the blocked attacker which was generated when added the blocked attacker to
Elasticsearch.void fetchBlacklist()
Copyright © 2018 BitSensor. All rights reserved.