Annotation Interface EnableOffHeap
@Target(TYPE)
@Retention(RUNTIME)
@Inherited
@Documented
@Import(OffHeapConfiguration.class)
@UsesGemFireProperties
public @interface EnableOffHeap
The
EnableOffHeap annotation marks a Spring @Configuration annotated application
Class to configure and enable Off-Heap Memory data storage in cache Regions.- Since:
- 1.9.0
- Author:
- John Blum
- See Also:
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionSpecifies the size of off-heap memory in megabytes (m) or gigabytes (g). -
Optional Element Summary
Optional Elements
-
Element Details
-
memorySize
String memorySizeSpecifies the size of off-heap memory in megabytes (m) or gigabytes (g). For example:Defaults to unset. Use the spring.data.gemfire.cache.off-heap.memory-size property in application.properties.off-heap-memory-size=4096m off-heap-memory-size=120g
-
-