| Package | Description |
|---|---|
| com.gemstone.gemfire.internal.shared | |
| com.gemstone.gemfire.internal.shared.unsafe |
| Modifier and Type | Method and Description |
|---|---|
java.nio.ByteBuffer |
BufferAllocator.allocateCustom(int size,
FreeMemory.Factory factory)
Allocate a buffer passing a custom FreeMemoryFactory.
|
| Modifier and Type | Method and Description |
|---|---|
static java.nio.ByteBuffer |
UnsafeHolder.allocateDirectBuffer(int size,
FreeMemory.Factory factory) |
static java.nio.ByteBuffer |
UnsafeHolder.allocateDirectBuffer(long address,
int size,
FreeMemory.Factory factory) |
static void |
UnsafeHolder.changeDirectBufferCleaner(java.nio.ByteBuffer buffer,
int size,
java.lang.Class<? extends FreeMemory> from,
java.lang.Class<? extends FreeMemory> to,
FreeMemory.Factory factory,
java.util.function.BiConsumer<java.lang.String,java.lang.Object> changeOwner)
Change the runnable field of Cleaner using given factory.
|
static java.nio.ByteBuffer |
UnsafeHolder.reallocateDirectBuffer(java.nio.ByteBuffer buffer,
int newLength,
java.lang.Class<?> expectedClass,
FreeMemory.Factory factory) |
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.