Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.runtime.manager.impl
Class CacheManagerImpl

    java.lang.Object
      org.jbpm.runtime.manager.impl.CacheManagerImpl

All Implemented Interfaces:
  org.kie.internal.runtime.manager.CacheManager

    public class CacheManagerImpl

extends Object
implements org.kie.internal.runtime.manager.CacheManager

Default implementation of CacheManager that is backed by `ConcurrentHashMap`. Allows to close `Cacheable` items from cache upon dispose.

Constructor Summary
`CacheManagerImpl()`

Method Summary
`void` | `add(String key, Object value)`
`void` | `dispose()`
`Object` | `get(String key)`
`Object` | `remove(String key)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### CacheManagerImpl

    public CacheManagerImpl()

Method Detail

### add

    public void add(String key,
                    Object value)

  Specified by:
    `add` in interface `org.kie.internal.runtime.manager.CacheManager`

### get

    public Object get(String key)

  Specified by:
    `get` in interface `org.kie.internal.runtime.manager.CacheManager`

### remove

    public Object remove(String key)

  Specified by:
    `remove` in interface `org.kie.internal.runtime.manager.CacheManager`

### dispose

    public void dispose()

  Specified by:
    `dispose` in interface `org.kie.internal.runtime.manager.CacheManager`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.