expirer.shutdown();
for (int i = directBufferStacks.length - 1; i >= 0; i--) {
ExpiringStack stack = directBufferStacks[i];
synchronized (stack) {
stack.clear();
}
}
for (int i = heapBufferStacks.length - 1; i >= 0; i--) {
ExpiringStack stack = heapBufferStacks[i];
synchronized (stack) {