| Modifier and Type | Method and Description |
|---|---|
static long |
SyncCalculation.syncTest(File datafolder,
int blockSize,
int blocks,
int tries,
boolean verbose,
boolean fsync,
boolean syncWrites,
String fileName,
int maxAIO,
JournalType journalType)
It will perform
tries write tests of blockSize * blocks bytes and returning the lowest elapsed time to perform a try. |
| Modifier and Type | Method and Description |
|---|---|
JournalType |
Configuration.getJournalType()
Returns the type of journal used by this server (
NIO, ASYNCIO or MAPPED). |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
Configuration.setJournalType(JournalType type)
Sets the type of journal used by this server (either
NIO or ASYNCIO). |
| Modifier and Type | Field and Description |
|---|---|
static JournalType |
ConfigurationImpl.DEFAULT_JOURNAL_TYPE |
JournalType |
ConfigurationImpl.journalType |
| Modifier and Type | Method and Description |
|---|---|
JournalType |
ConfigurationImpl.getJournalType() |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationImpl |
ConfigurationImpl.setJournalType(JournalType type) |
| Modifier and Type | Method and Description |
|---|---|
static JournalType |
JournalType.getType(String type) |
static JournalType |
JournalType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JournalType[] |
JournalType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
IllegalArgumentException |
ActiveMQMessageBundle.invalidJournalType2(JournalType journalType) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.