Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-23368

Refactor processing of LazyServiceConfiguration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.14
    • None
    • None

    Description

      • We should get rid of `instance of LazyServiceConfiguration` usages. It is always the extended configuration with normal deployment, with the public API. No need to check/cast.
      • The ServiceConfiguration class should not participate in serialization. The extended configuration should be `Externalizable` for example. `LazyServiceConfiguration` should not have the duplicates of the base `ServiceConfiguration`s `IgnitePredicate<ClusterNode> nodeFilter`, `ServiceCallInterceptor[] interceptors` and probably `Service svc`.
      • Revisit #toString method. It might give more info like `serviceName`, `nodeFilterClass`, `totalCnt`, `perNodeCnt`, etc.
      • Is the name "lazy" appropriate for this class? Maybe like `BinaryServiceConfiguration`, or `SerializationServiceConfiguration`, or `ExtendedServiceConfiguration`.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              NSAmelchev Nikita Amelchev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: