public void restartable(int restartableId,Func0<Subscription> factory){
  restartables.put(restartableId,factory);
  if (requested.contains(restartableId))   start(restartableId);
}

public void restartable ( int restartableId , Func0 < Subscription > factory ) { restartables . put ( restartableId , factory ) ; if ( requested . contains ( restartableId ) ) start ( restartableId ) ; }
a restartable is any rxjava observable that can be started ( subscribed ) and should be automatically restarted ( re - subscribed ) after a process restart if it was still subscribed at the moment of saving presenter ' s state . registers a factory . re - subscribes the restartable after the process restart .
