Class ObjectTypes

java.lang.Object
io.deephaven.server.plugin.type.ObjectTypes
All Implemented Interfaces:
io.deephaven.plugin.type.ObjectTypeLookup, io.deephaven.plugin.type.ObjectTypeRegistration

@Singleton public final class ObjectTypes extends Object implements io.deephaven.plugin.type.ObjectTypeLookup, io.deephaven.plugin.type.ObjectTypeRegistration
Provides synchronized object type registration and lookup.

Object type registration that is an instances of ObjectTypeClassBase receives special consideration, and these objects have more efficient lookups.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.deephaven.plugin.type.ObjectTypeLookup

    io.deephaven.plugin.type.ObjectTypeLookup.NoOp
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<io.deephaven.plugin.type.ObjectType>
     
    void
    register(io.deephaven.plugin.type.ObjectType objectType)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObjectTypes

      @Inject public ObjectTypes()
  • Method Details

    • findObjectType

      public Optional<io.deephaven.plugin.type.ObjectType> findObjectType(Object object)
      Specified by:
      findObjectType in interface io.deephaven.plugin.type.ObjectTypeLookup
    • register

      public void register(io.deephaven.plugin.type.ObjectType objectType)
      Specified by:
      register in interface io.deephaven.plugin.type.ObjectTypeRegistration