Interface TruffleLanguage.ContextThreadLocalFactory<C,T>

Enclosing class:
TruffleLanguage<C>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface TruffleLanguage.ContextThreadLocalFactory<C,T>
Context thread local factory for Truffle languages. Creates a new value per context and thread.
Since:
20.3
  • Method Summary

    Modifier and Type
    Method
    Description
    create(C context, Thread thread)
    Returns a new value for a context thread local for a language context and thread.