Interface EntityOwnerSelectionStrategy

    • Method Detail

      • getSelectionDelayInMillis

        long getSelectionDelayInMillis()
        Returns the time in millis owner selection should be delayed.
        Returns:
        the time in millis owner selection should be delayed
      • newOwner

        String newOwner​(@Nullable String currentOwner,
                        Collection<String> viableCandidates)
        Selects a new owner from the list of viable candidates.
        Parameters:
        currentOwner - the current owner of the entity if any, null otherwise
        viableCandidates - the available candidates from which to choose the new owner
        Returns:
        the new owner