public final class CacheBehaviour extends Object
CacheBehaviour
defines constants for the various cache
maintenance strategies. The effective strategy depends on two factors,
whether the repository implementation supports observation and the behaviour
provided in the RepositoryConfig
.Modifier and Type | Field and Description |
---|---|
static CacheBehaviour |
INVALIDATE
Cache maintenance is done by invalidating affected items of an operation
and forcing the jcr2spi implementation to reload the item states when
they are accessed next time.
|
static CacheBehaviour |
OBSERVATION
Cache maintenance is done using events from the repository.
|
public static final CacheBehaviour INVALIDATE
public static final CacheBehaviour OBSERVATION
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.