public class RrdPersisterFactory extends Object implements PersisterFactory
| Constructor and Description |
|---|
RrdPersisterFactory() |
| Modifier and Type | Method and Description |
|---|---|
Persister |
createGroupPersister(ServiceParameters params,
RrdRepository repository,
boolean dontPersistCounters,
boolean dontReorderAttributes) |
Persister |
createOneToOnePersister(ServiceParameters params,
RrdRepository repository,
boolean dontPersistCounters,
boolean dontReorderAttributes) |
Persister |
createPersister(ServiceParameters params,
RrdRepository repository)
Creates a visitor that is used to persist attributes in a .
|
Persister |
createPersister(ServiceParameters params,
RrdRepository repository,
boolean dontPersistCounters,
boolean forceStoreByGroup,
boolean dontReorderAttributes)
Creates a visitor that is used to persist attributes in a .
|
ResourceStorageDao |
getResourceStorageDao() |
RrdStrategy<?,?> |
getRrdStrategy() |
void |
setResourceStorageDao(ResourceStorageDao resourceStorageDao) |
void |
setRrdStrategy(RrdStrategy<?,?> rrdStrategy) |
public Persister createPersister(ServiceParameters params, RrdRepository repository)
PersisterFactorycreatePersister in interface PersisterFactoryparams - used to determine if individual groups or resources in the collection set should be persistedrepository - used to the RRD persisters to build the appropriate RRD structuresPersister that persists the attributespublic Persister createPersister(ServiceParameters params, RrdRepository repository, boolean dontPersistCounters, boolean forceStoreByGroup, boolean dontReorderAttributes)
PersisterFactorycreatePersister in interface PersisterFactoryparams - used to determine if individual groups or resources in the collection set should be persistedrepository - used to the RRD persisters to build the appropriate RRD structuresdontPersistCounters - used to disable persistence for counters in order to try and avoid spikesforceStoreByGroup - forces the given to be persisted as a groupdontReorderAttributes - store attributes in the order they are visitedPersister that persists the attributespublic Persister createGroupPersister(ServiceParameters params, RrdRepository repository, boolean dontPersistCounters, boolean dontReorderAttributes)
public Persister createOneToOnePersister(ServiceParameters params, RrdRepository repository, boolean dontPersistCounters, boolean dontReorderAttributes)
public RrdStrategy<?,?> getRrdStrategy()
public void setRrdStrategy(RrdStrategy<?,?> rrdStrategy)
public ResourceStorageDao getResourceStorageDao()
public void setResourceStorageDao(ResourceStorageDao resourceStorageDao)
Copyright © 2020. All rights reserved.