public class PersistentMemoryDirectoryConfig extends Object
| Constructor and Description | 
|---|
| PersistentMemoryDirectoryConfig(PersistentMemoryDirectoryConfig directoryConfig)Constructs an instance by copying the provided  PersistentMemoryDirectoryConfig. | 
| PersistentMemoryDirectoryConfig(String directory)Creates an instance with the  directoryspecified. | 
| PersistentMemoryDirectoryConfig(String directory,
                               int numaNode)Creates an instance with the  directoryand NUMA node specified. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object o) | 
| String | getDirectory()Returns the directory of this  PersistentMemoryDirectoryConfig. | 
| int | getNumaNode()Returns the NUMA node the persistent memory mounted to the given
 directory is attached to. | 
| int | hashCode() | 
| boolean | isNumaNodeSet()Returns if the NUMA node for the given persistent memory directory
 is set. | 
| void | setDirectory(String directory)Returns the  directoryof thisPersistentMemoryDirectoryConfig. | 
| void | setNumaNode(int numaNode)Sets the NUMA node the persistent memory mounted to the given
 directory is attached to. | 
| String | toString() | 
public PersistentMemoryDirectoryConfig(@Nonnull String directory)
directory specified.directory - The directory where the persistent memory is
                  mounted atNullPointerException - if directory is nullpublic PersistentMemoryDirectoryConfig(@Nonnull String directory, int numaNode)
directory and NUMA node specified.
 
 Note that setting numaNode to -1 on any of the configured
 PersistentMemoryDirectoryConfig instances disables
 NUMA-aware persistent memory allocation.directory - The directory where the persistent memory is
                  mounted atnumaNode - The NUMA node that the persistent memory mounted
                  to the given directory is attached to.NullPointerException - if directory is nullpublic PersistentMemoryDirectoryConfig(@Nonnull PersistentMemoryDirectoryConfig directoryConfig)
PersistentMemoryDirectoryConfig.directoryConfig - The configuration to copyNullPointerException - if directoryConfig is null@Nonnull public String getDirectory()
PersistentMemoryDirectoryConfig.public void setDirectory(@Nonnull String directory)
directory of this PersistentMemoryDirectoryConfig.directory - the directory to setNullPointerException - if directory is nullpublic int getNumaNode()
public void setNumaNode(int numaNode)
numaNode to -1 on any of the configured
 PersistentMemoryDirectoryConfig instances disables
 NUMA-aware persistent memory allocation.numaNode - the NUMA node to setpublic boolean isNumaNodeSet()
true if the NUMA node is set, false otherwiseCopyright © 2021 Hazelcast, Inc.. All rights reserved.