|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.impl.internal.classes.ClassInstanceProvider<java.lang.Class<?>,Copier<?>>
org.ehcache.impl.internal.spi.copy.DefaultCopyProvider
public class DefaultCopyProvider
Field Summary |
---|
Fields inherited from class org.ehcache.impl.internal.classes.ClassInstanceProvider |
---|
preconfigured, providedVsCount |
Constructor Summary | |
---|---|
DefaultCopyProvider(DefaultCopyProviderConfiguration configuration)
|
Method Summary | ||
---|---|---|
|
createKeyCopier(java.lang.Class<T> clazz,
Serializer<T> serializer,
ServiceConfiguration<?>... configs)
Creates a key Copier with the given parameters. |
|
|
createValueCopier(java.lang.Class<T> clazz,
Serializer<T> serializer,
ServiceConfiguration<?>... configs)
Creates a value Copier with the given parameters. |
Methods inherited from class org.ehcache.impl.internal.classes.ClassInstanceProvider |
---|
getPreconfigured, newInstance, newInstance, releaseInstance, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ehcache.spi.service.Service |
---|
start, stop |
Constructor Detail |
---|
public DefaultCopyProvider(DefaultCopyProviderConfiguration configuration)
Method Detail |
---|
public <T> Copier<T> createKeyCopier(java.lang.Class<T> clazz, Serializer<T> serializer, ServiceConfiguration<?>... configs)
CopyProvider
Copier
with the given parameters.
createKeyCopier
in interface CopyProvider
T
- the type to copy to/fromclazz
- the class of the type to copy to/fromserializer
- the serializer that can be used to perform the copying. The usage is optional though.configs
- specific configurations
Copier
instancepublic <T> Copier<T> createValueCopier(java.lang.Class<T> clazz, Serializer<T> serializer, ServiceConfiguration<?>... configs)
CopyProvider
Copier
with the given parameters.
createValueCopier
in interface CopyProvider
T
- the type to copy to/fromclazz
- the class of the type to copy to/fromserializer
- the serializer that can be used to perform the copying. The usage is optional though.configs
- specific configurations
Copier
instance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |