1 23 24 package org.apache.slide.store; 25 26 import org.apache.slide.common.Service; 27 import org.apache.slide.common.ServiceAccessException; 28 29 36 public interface SequenceStore extends Service { 37 38 45 public boolean isSequenceSupported(); 46 47 54 public boolean sequenceExists(String sequenceName) throws ServiceAccessException; 55 56 63 public boolean createSequence(String sequenceName) throws ServiceAccessException; 64 65 80 public long nextSequenceValue(String sequenceName) throws ServiceAccessException; 81 } 82 | Popular Tags |