public class NoPersistenceStrategy extends Object implements PersistenceStrategy
PersistenceStrategy
which does nothing.Constructor and Description |
---|
NoPersistenceStrategy() |
Modifier and Type | Method and Description |
---|---|
Factorization |
load()
Load a factorization from a persistent store.
|
void |
maybePersist(Factorization factorization)
Write a factorization to a persistent store unless it already
contains an identical factorization.
|
public Factorization load() throws IOException
PersistenceStrategy
load
in interface PersistenceStrategy
IOException
public void maybePersist(Factorization factorization) throws IOException
PersistenceStrategy
maybePersist
in interface PersistenceStrategy
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.