public class DefaultMemoryManagementService extends Object implements ProfiledMemoryManagementService
MemoryManagementService| Modifier and Type | Field and Description |
|---|---|
static String |
DUPLICATE_BYTE_BUFFER_PROVIDER_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
disposeByteBufferProvider(String name) |
org.mule.runtime.api.memory.provider.ByteBufferProvider<ByteBuffer> |
getByteBufferProvider(String name,
org.mule.runtime.api.memory.provider.type.ByteBufferType byteBufferType) |
org.mule.runtime.api.memory.provider.ByteBufferProvider<ByteBuffer> |
getByteBufferProvider(String name,
org.mule.runtime.api.memory.provider.type.ByteBufferType byteBufferType,
org.mule.runtime.api.memory.provider.ByteBufferPoolConfiguration poolConfiguration) |
static DefaultMemoryManagementService |
getInstance() |
void |
initialise() |
void |
setProfilingService(org.mule.runtime.api.profiling.ProfilingService profilingService)
The
ProfilingService used by the implementation for profiling the memory resources usage. |
public static final String DUPLICATE_BYTE_BUFFER_PROVIDER_NAME
public static DefaultMemoryManagementService getInstance()
public void dispose()
dispose in interface org.mule.runtime.api.lifecycle.Disposablepublic void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic org.mule.runtime.api.memory.provider.ByteBufferProvider<ByteBuffer> getByteBufferProvider(String name, org.mule.runtime.api.memory.provider.type.ByteBufferType byteBufferType, org.mule.runtime.api.memory.provider.ByteBufferPoolConfiguration poolConfiguration)
getByteBufferProvider in interface org.mule.runtime.api.memory.management.MemoryManagementServicepublic org.mule.runtime.api.memory.provider.ByteBufferProvider<ByteBuffer> getByteBufferProvider(String name, org.mule.runtime.api.memory.provider.type.ByteBufferType byteBufferType)
getByteBufferProvider in interface org.mule.runtime.api.memory.management.MemoryManagementServicepublic void disposeByteBufferProvider(String name)
disposeByteBufferProvider in interface org.mule.runtime.api.memory.management.MemoryManagementServicepublic void setProfilingService(org.mule.runtime.api.profiling.ProfilingService profilingService)
ProfiledMemoryManagementServiceProfilingService used by the implementation for profiling the memory resources usage.setProfilingService in interface ProfiledMemoryManagementServiceprofilingService - the ProfilingService used by the implementation to track/profile resources.Copyright © 2003–2022 MuleSoft, Inc.. All rights reserved.