public Boolean deref(long time, TimeUnit unit) throws IOException {
validate(p.deref(time, unit));
return true;
}
public Boolean deref(long time, TimeUnit unit, Boolean timeoutValue) throws IOException {
final Msg message = p.deref(time, unit, null);
if (message != null && validate(message) != null) {
return true;
} else {
return false;
}