| Package | Description |
|---|---|
| org.brandao.brcache | |
| org.brandao.brcache.collections | |
| org.brandao.brcache.collections.swapper | |
| org.brandao.brcache.tx |
| Modifier and Type | Field and Description |
|---|---|
protected Swapper |
BRCacheConfig.swapper |
| Modifier and Type | Method and Description |
|---|---|
protected Swapper |
BRCacheConfig.createSwapper(String name,
ClassLoader classLoader) |
Swapper |
BRCacheConfig.getSwapper()
Obtém a estratégia de troca de dados entre a memória e outro dispositivo.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
StreamCache.init(long nodeBufferSize,
long nodePageSize,
double nodeSwapFactor,
long indexBufferSize,
long indexPageSize,
double indexSwapFactor,
long dataBufferSize,
long dataPageSize,
long blockSize,
double dataSwapFactor,
long maxSizeEntry,
int maxSizeKey,
Swapper swapper,
int quantitySwaperThread,
Memory memory)
Inicia o cache.
|
void |
BRCacheConfig.setSwapper(Swapper swapper)
Define a estratégia de troca de dados entre a memória e outro dispositivo.
|
| Constructor and Description |
|---|
BasicCache(long nodeBufferSize,
long nodePageSize,
double nodeSwapFactor,
long indexBufferSize,
long indexPageSize,
double indexSwapFactor,
long dataBufferSize,
long dataPageSize,
long blockSize,
double dataSwapFactor,
long maxSizeEntry,
int maxSizeKey,
Swapper swapper,
int quantitySwaperThread,
Memory memory)
Cria um novo cache.
|
StreamCache(long nodeBufferSize,
long nodePageSize,
double nodeSwapFactor,
long indexBufferSize,
long indexPageSize,
double indexSwapFactor,
long dataBufferSize,
long dataPageSize,
long blockSize,
double dataSwapFactor,
long maxSizeEntry,
int maxSizeKey,
Swapper swapper,
int quantitySwaperThread,
Memory memory)
Cria um novo cache.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
DiskSwapper
Envia e recebe entidade do disco.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CacheSwapper
Faz com que entidades sejam enviadas para um determinado cache.
|
| Modifier and Type | Field and Description |
|---|---|
protected Swapper |
Segment.swap |
| Modifier and Type | Method and Description |
|---|---|
Swapper |
Swapper.clone() |
Swapper |
CacheSwapper.clone() |
Swapper |
Segment.getSwap() |
static Swapper |
CacheList.getSwapper()
Obtém o responsável por fazer a troca de dados entre as instâncias.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CacheList.setSwapper(Swapper swapper)
Define o responsável por fazer a troca de dados entre as instâncias.
|
| Constructor and Description |
|---|
ArrayCollectionReference(String id,
int maxCapacityElements,
double clearFactorElements,
double fragmentFactorElements,
Swapper swap,
int quantityClearThread) |
HugeArrayList(String id,
int maxCapacityElements,
double clearFactorElements,
double fragmentFactorElements,
Swapper swap,
int quantityClearThread) |
HugeArrayReferenceList(String id,
int maxCapacityElements,
double clearFactorElements,
double fragmentFactorElements,
Swapper swap,
int quantityClearThread,
int lists) |
Segment(Swapper swap,
boolean forceSwap,
long maxSegmentCapacity,
boolean readOnly) |
StringTreeMap(String id,
int maxCapacityNodes,
double clearFactorNodes,
double fragmentFactorNodes,
Swapper swapNodes,
int quantitySwaperThreadNodes,
int subListsNodes,
int maxCapacityElements,
double clearFactorElements,
double fragmentFactorElements,
Swapper swapElements,
int quantitySwaperThreadElements,
int subListsElements) |
TreeHugeMap(String id,
int maxCapacityNodes,
double clearFactorNodes,
double fragmentFactorNodes,
Swapper swapNodes,
int quantitySwaperThreadNodes,
int maxCapacityElements,
double clearFactorElements,
double fragmentFactorElements,
Swapper swapElements,
int quantitySwaperThreadElements) |
TreeMap(String id,
int maxCapacityNodes,
double clearFactorNodes,
double fragmentFactorNodes,
Swapper swapNodes,
int quantitySwaperThreadNodes,
int subListsNodes,
int maxCapacityElements,
double clearFactorElements,
double fragmentFactorElements,
Swapper swapElements,
int quantitySwaperThreadElements,
int subListsElements,
TreeNodes<T> treeNodes) |
| Modifier and Type | Class and Description |
|---|---|
class |
FileSwapper
As entidades são enviadas para o disco e armazenadas
em um único arquivo.
|
class |
TreeFileSwapper
As entidades são enviadas para o disco e armazenadas
em uma árvore de diretórios.
|
| Modifier and Type | Method and Description |
|---|---|
Swapper |
TreeFileSwapper.clone() |
Swapper |
FileSwapper.clone() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
TXCache.init(long nodeBufferSize,
long nodePageSize,
double nodeSwapFactor,
long indexBufferSize,
long indexPageSize,
double indexSwapFactor,
long dataBufferSize,
long dataPageSize,
long blockSize,
double dataSwapFactor,
long maxSizeEntry,
int maxSizeKey,
Swapper swapper,
int quantitySwaperThread,
Memory memory) |
Copyright © 2016. All rights reserved.