public interface HandleCache
Interface for an object that can receive and supply an int-valued handle. The implementation should return 0 if no handle has been set, a non-zero value if the handle has been set, and should throw an IllegalStateException if an attempt is made to change the handle from one non-zero value to another.
Modifier and Type | Method and Description |
---|---|
int |
getHandle() |
void |
setHandle(int handle)
Store a supplied handle.
|
void setHandle(int handle)
handle
- IllegalStateException
- if there already is a non-matching non-zero handle storedint getHandle()
Copyright © 2025 Open Identity Platform Community. All rights reserved.