[SPARK-3902] [SPARK-3590] Stabilize AsynRDDActions and add Java API

This PR adds a Java API for AsyncRDDActions and promotes the API from `@Experimental` to stable.
Just wondering if the sleep is really necessary. Seems to me it's only there to slow the test down.