public class ReferenceCountedACLCache
extends java.lang.Object
Constructor and Description |
---|
ReferenceCountedACLCache() |
Modifier and Type | Method and Description |
---|---|
void |
addUsage(java.lang.Long acl) |
java.lang.Long |
convertAcls(java.util.List<ACL> acls)
converts the list of acls to a list of longs.
|
java.util.List<ACL> |
convertLong(java.lang.Long longVal)
converts a list of longs to a list of acls.
|
void |
deserialize(org.apache.jute.InputArchive ia) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
void |
purgeUnused() |
void |
removeUsage(java.lang.Long acl) |
void |
serialize(org.apache.jute.OutputArchive oa) |
int |
size() |
public java.lang.Long convertAcls(java.util.List<ACL> acls)
acls
- public java.util.List<ACL> convertLong(java.lang.Long longVal)
longVal
- the list of longspublic void deserialize(org.apache.jute.InputArchive ia) throws java.io.IOException
java.io.IOException
public void serialize(org.apache.jute.OutputArchive oa) throws java.io.IOException
java.io.IOException
public int size()
public void addUsage(java.lang.Long acl)
public void removeUsage(java.lang.Long acl)
public void purgeUnused()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2024 The Apache Software Foundation