public class DomainPingExecution {
- String state;
+ private String state;
- String type;
+ private String type;
- String info;
+ private String info;
- String result;
+ private String result;
- DomainPingConfiguration config;
+ private DomainPingConfiguration config;
public DomainPingExecution(ResultSet rs) throws SQLException {
state = rs.getString(1);
return owner;
}
+ @Override
public int getId() {
return id;
}
EMAIL, DNS, HTTP, SSL;
}
- int id;
+ private int id;
- Domain target;
+ private Domain target;
- PingType type;
+ private PingType type;
- String info;
+ private String info;
private DomainPingConfiguration(int id) throws SQLException {
PreparedStatement ps = DatabaseConnection.getInstance().prepare("SELECT id, domainid, type, info FROM pingconfig WHERE id=?");
public class ObjectCache<T extends IdCachable> {
- HashMap<Integer, WeakReference<T>> hashmap = new HashMap<>();
+ private HashMap<Integer, WeakReference<T>> hashmap = new HashMap<>();
private static HashSet<ObjectCache<?>> caches = new HashSet<>();