public abstract class Model<ModelType extends Model<ModelType>>
extends java.lang.Object
implements java.lang.AutoCloseable
Constructor and Description |
---|
Model(PgxSession session, oracle.pgx.api.internal.Core core, java.util.function.Supplier<java.lang.String> keystorePathSupplier, java.util.function.Supplier<char[]> keystorePasswordSupplier) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Calls
destroyAsync() and wait for completion. |
abstract PgxFuture<java.lang.Void> |
destroyAsync()
Requests destruction of this object.
|
GenericModelStorer<ModelType> |
export()
Returns
GenericModelStorer to configure where to store the model and then trigger it. |
public Model(PgxSession session, oracle.pgx.api.internal.Core core, java.util.function.Supplier<java.lang.String> keystorePathSupplier, java.util.function.Supplier<char[]> keystorePasswordSupplier)
public void close()
destroyAsync()
and wait for completion.close
in interface java.lang.AutoCloseable
public abstract PgxFuture<java.lang.Void> destroyAsync()
public GenericModelStorer<ModelType> export()
GenericModelStorer
to configure where to store the model and then trigger it.GenericModelStorer
to configure where to store the model