public class PolicyHandleCache extends Object
| Constructor and Description |
|---|
PolicyHandleCache()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHandle(String name,
PolicyHandle handle)
Add a handle to the cache
|
Enumeration<PolicyHandle> |
enumerateHandles()
Enumerate the handles in the cache
|
PolicyHandle |
findHandle(String index)
Return the handle for the specified index
|
int |
numberOfHandles()
Return the number of handles in the cache
|
void |
removeAllHandles()
Clear all handles from the cache
|
PolicyHandle |
removeHandle(String index)
Delete a handle from the cache
|
public final int numberOfHandles()
public final void addHandle(String name, PolicyHandle handle)
name - Stringhandle - PolicyHandlepublic final PolicyHandle findHandle(String index)
index - Stringpublic final PolicyHandle removeHandle(String index)
index - Stringpublic final Enumeration<PolicyHandle> enumerateHandles()
public final void removeAllHandles()
Copyright © 2005–2014 Alfresco Software. All rights reserved.