public abstract class MonitoredBackend extends Object implements RepositoryBackend
Modifier | Constructor and Description |
---|---|
protected |
MonitoredBackend(RepositoryBackend wrapped) |
Modifier and Type | Method and Description |
---|---|
Model |
initialize(RepositoryImpl repository)
Initializer.
|
Mapper |
newMapper(Session.PathResolver pathResolver,
boolean useInvalidations)
Creates a new instance a
Mapper . |
void |
setClusterInvalidator(ClusterInvalidator clusterInvalidator)
Sets the cluster invalidator, to be used by future mappers created.
|
void |
shutdown()
Shuts down the backend.
|
protected MonitoredBackend(RepositoryBackend wrapped)
public Mapper newMapper(Session.PathResolver pathResolver, boolean useInvalidations)
RepositoryBackend
Mapper
. Called once for every new session.newMapper
in interface RepositoryBackend
pathResolver
- the path resolveruseInvalidations
- whether this mapper participates in invalidation propagationpublic Model initialize(RepositoryImpl repository)
RepositoryBackend
initialize
in interface RepositoryBackend
public void setClusterInvalidator(ClusterInvalidator clusterInvalidator)
RepositoryBackend
setClusterInvalidator
in interface RepositoryBackend
public void shutdown()
RepositoryBackend
shutdown
in interface RepositoryBackend
Copyright © 2018 Nuxeo. All rights reserved.