Пример #1
0
 public void persist(AuthenticationInfo subject) throws IOException {
   Preconditions.checkNotNull(subject, "AuthenticationInfo should not be null");
   stopDelayedPersistTimer();
   snapshotAngularObjectRegistry(subject.getUser());
   index.updateIndexDoc(this);
   repo.save(this, subject);
 }
Пример #2
0
 public void persist() throws IOException {
   snapshotAngularObjectRegistry();
   repo.save(this);
 }