Class TransportIdentity
java.lang.Object
com.soklet.TransportIdentity
Stable, opaque reference identity for one complete transport lifecycle graph.
Independent engines retain one token; decorators return their delegate's exact
token unchanged. Soklet permanently claims the token for the lifecycle that
first accepts its configuration, so a token must not be reused for a distinct
transport graph or lifecycle generation.
- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull TransportIdentitycreate()Creates a fresh reference-identity token distinct from every token previously returned.
-
Method Details
-
create
Creates a fresh reference-identity token distinct from every token previously returned. Identity tokens intentionally do not have structural equality or hash-code semantics.- Returns:
- a fresh transport identity
-