public class ImmortalMemoryPermission extends RealtimePermission
Action Name | Description | Risks of grant |
---|---|---|
allocate | Allows the acclocation in Immortal memory. | Can cause a Memory Leak Risk |
*
, or no target, allows access to primordial
memory area.
The risk classes are defined in RealtimePermission
.Constructor and Description |
---|
ImmortalMemoryPermission(String actions)
Creates a new
ImmortalMemoryPermission object for a given action,
i.e., the symbolic name of an action. |
ImmortalMemoryPermission(String name,
String actions)
Creates a new
ImmortalMemoryPermission object for a given action,
i.e., the symbolic name of an action. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Compare two Permission objects for equality.
|
boolean |
implies(Permission permission)
Checks if the given permission's actions are "implied by" this
object's actions.
|
getActions, hashCode
checkGuard, getName, newPermissionCollection, toString
public ImmortalMemoryPermission(String name, String actions)
ImmortalMemoryPermission
object for a given action,
i.e., the symbolic name of an action. The name
string
specifies additional limitations on the action.NullPointerException
- when action
is null
.StaticIllegalArgumentException
- when target
or action
is empty.name
- Specifies the domain for the action, or *
or null
for no limit on the permission.actions
- The names of the actions to allow, or *
for all actions.public ImmortalMemoryPermission(String actions)
ImmortalMemoryPermission
object for a given action,
i.e., the symbolic name of an action.NullPointerException
- when action
is null
.StaticIllegalArgumentException
- when action
is empty.actions
- The names of the actions to allow, or *
for all actions.public boolean equals(Object other)
RealtimePermission
equals
in class RealtimePermission
other
- is the object with which to compare.true
when yes and false
otherwise.Object.hashCode()
,
HashMap
public boolean implies(Permission permission)
RealtimePermission
implies
in class RealtimePermission
permission
- is the permission to check.true
when yes and false
otherwise.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2025 aicas GmbH. All Rights Reserved.