Modifier and Type | Field and Description |
---|---|
static DiskOrderedCursorConfig |
DEFAULT
Default configuration used if null is passed to methods that create a
cursor.
|
Constructor and Description |
---|
DiskOrderedCursorConfig()
An instance created using the default constructor is initialized with
the system's default settings.
|
Modifier and Type | Method and Description |
---|---|
DiskOrderedCursorConfig |
clone()
Returns a copy of this configuration object.
|
boolean |
getBINsOnly()
Returns true if the DiskOrderedCursor is configured to scan BINs only,
returning all record keys and only those record data that are embedded
in the BINs.
|
long |
getInternalMemoryLimit()
Returns the maximum amount of non JE Cache Memory that the
DiskOrderedScan can use at one time.
|
boolean |
getKeysOnly()
Returns true if the DiskOrderedCursor is configured to return only
keys.
|
long |
getLSNBatchSize()
Returns the maximum number of LSNs to be sorted that this
DiskOrderedCursor is configured for.
|
long |
getMaxSeedMillisecs()
Deprecated.
this method returns zero and will be removed in a future
release.
|
long |
getMaxSeedNodes()
Deprecated.
this method returns zero and will be removed in a future
release.
|
int |
getQueueSize()
Returns the maximum number of entries in the queue before the
DiskOrderedCursor producer thread blocks.
|
DiskOrderedCursorConfig |
setBINsOnly(boolean binsOnly)
Specify whether the DiskOrderedCursor should scan the BINs only.
|
void |
setBINsOnlyVoid(boolean binsOnly) |
DiskOrderedCursorConfig |
setInternalMemoryLimit(long internalMemoryLimit)
Set the maximum amount of non JE Cache Memory that the DiskOrderedScan
can use at one time.
|
void |
setInternalMemoryLimitVoid(long internalMemoryLimit) |
DiskOrderedCursorConfig |
setKeysOnly(boolean keysOnly)
Specify whether the DiskOrderedCursor should return only the key or key
+ data.
|
void |
setKeysOnlyVoid(boolean keysOnly) |
DiskOrderedCursorConfig |
setLSNBatchSize(long lsnBatchSize)
Set the maximum number of LSNs to gather and sort at any one time.
|
void |
setLSNBatchSizeVoid(long lsnBatchSize) |
DiskOrderedCursorConfig |
setMaxSeedMillisecs(long maxSeedMillisecs)
Deprecated.
this method has no effect and will be removed in a future
release.
|
void |
setMaxSeedMillisecsVoid(long maxSeedMillisecs) |
DiskOrderedCursorConfig |
setMaxSeedNodes(long maxSeedNodes)
Deprecated.
this method has no effect and will be removed in a future
release.
|
void |
setMaxSeedNodesVoid(long maxSeedNodes) |
DiskOrderedCursorConfig |
setQueueSize(int queueSize)
Set the queue size for entries being passed between the
DiskOrderedCursor producer thread and the application's consumer
thread.
|
void |
setQueueSizeVoid(int queueSize) |
String |
toString()
Returns the values for each configuration attribute.
|
public static final DiskOrderedCursorConfig DEFAULT
public DiskOrderedCursorConfig()
public DiskOrderedCursorConfig setKeysOnly(boolean keysOnly)
keysOnly
- If true, return only keys from this cursor.public void setKeysOnlyVoid(boolean keysOnly)
public boolean getKeysOnly()
public DiskOrderedCursorConfig setBINsOnly(boolean binsOnly)
binsOnly
- If true, return keys and, if available, the associated
embedded data.public void setBINsOnlyVoid(boolean binsOnly)
public boolean getBINsOnly()
public DiskOrderedCursorConfig setLSNBatchSize(long lsnBatchSize)
lsnBatchSize
- the maximum number of LSNs to accumulate and sort
per batch.public void setLSNBatchSizeVoid(long lsnBatchSize)
public long getLSNBatchSize()
public DiskOrderedCursorConfig setInternalMemoryLimit(long internalMemoryLimit)
internalMemoryLimit
- the maximum number of non JE Cache bytes to
use.public void setInternalMemoryLimitVoid(long internalMemoryLimit)
public long getInternalMemoryLimit()
public DiskOrderedCursorConfig setQueueSize(int queueSize)
queueSize
- the maximum number of entries the queue can hold before
the producer thread blocks.public void setQueueSizeVoid(int queueSize)
public int getQueueSize()
public DiskOrderedCursorConfig setMaxSeedMillisecs(long maxSeedMillisecs)
public void setMaxSeedMillisecsVoid(long maxSeedMillisecs)
public long getMaxSeedMillisecs()
public DiskOrderedCursorConfig setMaxSeedNodes(long maxSeedNodes)
public void setMaxSeedNodesVoid(long maxSeedNodes)
public long getMaxSeedNodes()
public DiskOrderedCursorConfig clone()
Copyright (c) 2002, 2015 Oracle and/or its affiliates. All rights reserved.