public static enum DatabaseRequestsAcceptanceTest.UserPrefetch extends Enum<DatabaseRequestsAcceptanceTest.UserPrefetch>
Enum Constant and Description |
---|
WITH_PREFETCH |
WITHOUT_PREFETCH |
Modifier and Type | Method and Description |
---|---|
Map<String,org.hamcrest.Matcher<Integer>> |
getExpectedSelects(com.atlassian.confluence.webscale.DatabaseRequestsAcceptanceTest.HibernateVersion hibernateVersion) |
boolean |
isPrefetchEnabled() |
static DatabaseRequestsAcceptanceTest.UserPrefetch |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatabaseRequestsAcceptanceTest.UserPrefetch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatabaseRequestsAcceptanceTest.UserPrefetch WITHOUT_PREFETCH
public static final DatabaseRequestsAcceptanceTest.UserPrefetch WITH_PREFETCH
public static DatabaseRequestsAcceptanceTest.UserPrefetch[] values()
for (DatabaseRequestsAcceptanceTest.UserPrefetch c : DatabaseRequestsAcceptanceTest.UserPrefetch.values()) System.out.println(c);
public static DatabaseRequestsAcceptanceTest.UserPrefetch 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 nullpublic Map<String,org.hamcrest.Matcher<Integer>> getExpectedSelects(com.atlassian.confluence.webscale.DatabaseRequestsAcceptanceTest.HibernateVersion hibernateVersion)
public boolean isPrefetchEnabled()
Copyright © 2003–2017 Atlassian. All rights reserved.