public class ReferenceCountedACLCache extends Object
Constructor and Description |
---|
ReferenceCountedACLCache() |
Modifier and Type | Method and Description |
---|---|
void |
addUsage(Long acl) |
Long |
convertAcls(List<ACL> acls)
converts the list of acls to a long.
|
List<ACL> |
convertLong(Long longVal)
converts a long to a list of acls.
|
void |
deserialize(InputArchive ia) |
void |
purgeUnused() |
void |
removeUsage(Long acl) |
void |
serialize(OutputArchive oa) |
int |
size() |
public Long convertAcls(List<ACL> acls)
acls
- public List<ACL> convertLong(Long longVal)
longVal
- public void deserialize(InputArchive ia) throws IOException
IOException
public void serialize(OutputArchive oa) throws IOException
IOException
public int size()
public void addUsage(Long acl)
public void removeUsage(Long acl)
public void purgeUnused()
Copyright © 2008–2019 The Apache Software Foundation. All rights reserved.