@Override public void run() { asyncAction.performAction(AMQPConnection_0_8Impl.this); } };
public static final int min(int s1, int s2) { if (lt(s1, s2)) { return s1; } else { return s2; } }
public static final int max(int s1, int s2) { if (gt(s1, s2)) { return s1; } else { return s2; } }
public static byte[] uncompressBufferToArray(ByteBuffer contentBuffer) { if(contentBuffer != null) { try (ByteBufferInputStream input = new ByteBufferInputStream(contentBuffer)) { return uncompressStreamToArray(input); } } else { return null; } }
public static <T, E extends Exception> T await(Future<T> future) throws OperationTimeoutException, CancellationException, E { return FutureHelper.<T, E>await(future, 0, null); }
@Override public int compare(Integer s1, Integer s2) { return Serial.compare(s1, s2); } };
public static String toString(final Object value) { return toString(value, null); }
public String getProcessPid() { return SystemUtils.getProcessPid(); }
@Override public Set<Entry<String, Object>> entrySet() { return new EntrySet(); }
@Override public Iterator<Entry<String, Object>> iterator() { return new EntrySetIterator(); }
@Override public void performAction(final Deletable object) { _lifetimeObject.removeDeleteTask(_deleteTask); } }
public static Boolean toBoolean(String name, Object obj) { return toBoolean(name, obj, null); }
public static Integer toInteger(String name, Object obj) { return toInteger(name, obj, null); }
public ScheduledFuture<?> scheduleHouseKeepingTask(long period, final TimeUnit unit, Runnable task) { return _houseKeepingTaskExecutor.scheduleAtFixedRate(task, period / 2, period, unit); }
@Override public void run() { asyncAction.performAction(ServerConnection.this); } };
public static final boolean ge(int s1, int s2) { return compare(s1, s2) >= 0; }
@Override public void run() { asyncAction.performAction(AMQPConnection_0_8Impl.this); } };
@Override public void run() { asyncAction.performAction(ServerConnection.this); } };