java.lang.Object
com.pervasive.datarush.cal.AttributeScope
- All Implemented Interfaces:
Serializable
A session qualifier to provide uniqueness of session attributes.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetId()Returns the unique idinthashCode()static AttributeScopescope(long id) Intended as a unit-testing hook; useunique()instead.static AttributeScopeunique()Returns the next unique attribute scope.
-
Method Details
-
getId
public long getId()Returns the unique id- Returns:
- the unique id
-
scope
Intended as a unit-testing hook; useunique()instead.- Parameters:
id- the unique value for this scope- Returns:
- a new attribute scope.
-
unique
Returns the next unique attribute scope. The that attribute scopes are unique within a client which makes them unique within aDistributedCallableContexton a particular virtual node.- Returns:
- a unique-per-client scope
-
hashCode
public int hashCode() -
equals
-