Class ScalingActorFactory

    • Constructor Detail

      • ScalingActorFactory

        public ScalingActorFactory()
    • Method Detail

      • getMonitoredProperties

        public java.util.Set<Property<?>> getMonitoredProperties()
        Description copied from interface: TagActorFactory
        These are the properties that this actor monitors for changes. This is used to optimize how factories/actors are managed after edits. Any property that the actor cares about (even system properties) should be represented in the returned Set, otherwise the actor will not be notified of edits.
        Specified by:
        getMonitoredProperties in interface TagActorFactory
      • shutdown

        public void shutdown()
        Description copied from interface: TagActorFactory
        Indicates the provider or system is shutting down. All of the tags may have been shut down, but at this point, the factory can stop doing anything.
        Specified by:
        shutdown in interface TagActorFactory
      • isApplicable

        public boolean isApplicable​(PropertySet config)
        Description copied from interface: TagActorFactory
        Indicates that the PropertySet has settings that would result in this actor type being created.
        Specified by:
        isApplicable in interface TagActorFactory
      • create

        public TagActor create​(NodeContext context,
                               PropertySet config)
        Description copied from interface: TagActorFactory
        Creates the actor for the given settings. isApplicable() has already been checked to confirm that this operation is valid. The actor should not be activated before it is returned.
        Specified by:
        create in interface TagActorFactory