public enum PageCacheOpenOptions extends Enum<PageCacheOpenOptions> implements OpenOption
OpenOptions that are specific to PageCache.map(File, int, OpenOption...),
and not normally supported by file systems.| Enum Constant and Description |
|---|
ANY_PAGE_SIZE
Map the file even if the specified file page size conflicts with an existing mapping of that file.
|
| Modifier and Type | Method and Description |
|---|---|
static PageCacheOpenOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageCacheOpenOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageCacheOpenOptions ANY_PAGE_SIZE
PagedFile will be returned that uses the
file page size of the existing mapping.public static PageCacheOpenOptions[] values()
for (PageCacheOpenOptions c : PageCacheOpenOptions.values()) System.out.println(c);
public static PageCacheOpenOptions valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.