/** * @param alluxioConf the specified {@link AlluxioConfiguration} to use * @return the client context with the given properties and an empty subject */ public static ClientContext create(AlluxioConfiguration alluxioConf) { return new ClientContext(null, alluxioConf); }
/** * A client context with information about the subject and configuration of the client. * * @param subject the security subject to use * @param alluxioConf the {@link AlluxioConfiguration} to use. If null, the site property defaults * will be loaded * @return a new client context with the specified properties and subject */ public static ClientContext create(Subject subject, AlluxioConfiguration alluxioConf) { return new ClientContext(subject, alluxioConf); }
/** * @return a new {@link ClientContext} with values loaded from the alluxio-site properties and * an empty subject. */ public static ClientContext create() { return new ClientContext(null, null); }