Class ReflectiveLatencyFieldMethod
- java.lang.Object
-
- com.djrapitops.plan.gathering.timed.ReflectiveLatencyFieldMethod
-
- All Implemented Interfaces:
PingMethod
public class ReflectiveLatencyFieldMethod extends java.lang.Object implements PingMethod
-
-
Constructor Summary
Constructors Constructor Description ReflectiveLatencyFieldMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPing(org.bukkit.entity.Player player)
java.lang.String
getReasonForUnavailability()
boolean
isAvailable()
-
-
-
Method Detail
-
isAvailable
public boolean isAvailable()
- Specified by:
isAvailable
in interfacePingMethod
-
getPing
public int getPing(org.bukkit.entity.Player player)
- Specified by:
getPing
in interfacePingMethod
-
getReasonForUnavailability
public java.lang.String getReasonForUnavailability()
- Specified by:
getReasonForUnavailability
in interfacePingMethod
-
-