public class OffHeapMemoryLifecycleListener extends Object implements com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl.LifecycleListener
| Constructor and Description |
|---|
OffHeapMemoryLifecycleListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCreate(com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl allocator) |
void |
afterReuse(com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl allocator) |
void |
beforeClose(com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl allocator) |
static void |
checkForErrors()
Retrieve any errors from the blackboard and throw to fail the test
|
static void |
install()
Install an instance of this listener
|
public static void install()
public static void checkForErrors()
public void afterCreate(com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl allocator)
afterCreate in interface com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl.LifecycleListenerpublic void afterReuse(com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl allocator)
afterReuse in interface com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl.LifecycleListenerpublic void beforeClose(com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl allocator)
beforeClose in interface com.gemstone.gemfire.internal.offheap.SimpleMemoryAllocatorImpl.LifecycleListenerCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.