Class UserState.Factory

  • Enclosing interface:
    UserState

    public static class UserState.Factory
    extends java.lang.Object
    A factory for creating a UserState.
    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • create

        public static UserState create​(AlluxioConfiguration conf)
        Parameters:
        conf - the configuration to use
        Returns:
        a new UserState instance
      • create

        public static UserState create​(AlluxioConfiguration conf,
                                       javax.security.auth.Subject subject)
        Parameters:
        conf - the configuration to use
        subject - the subject to use for the UserState
        Returns:
        a new UserState instance
      • create

        public static UserState create​(AlluxioConfiguration conf,
                                       javax.security.auth.Subject subject,
                                       CommonUtils.ProcessType processType)
        Parameters:
        conf - the configuration to use
        subject - the subject to use for the UserState
        processType - the process type to create the UserState for
        Returns:
        a new UserState instance