Unnamed: 0 int64 0 6.7k | func stringlengths 12 89.6k | target bool 2
classes | project stringlengths 45 151 |
|---|---|---|---|
6,400 | public interface CacheLoader<T>
{
T load( long id ) throws EntityNotFoundException;
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_api_store_CacheLoader.java |
6,401 | public interface CacheUpdateListener
{
void newSize( Primitive entity, int size );
public static final CacheUpdateListener NO_UPDATES = new CacheUpdateListener()
{
@Override
public void newSize( Primitive entity, int size )
{
}
};
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_api_store_CacheUpdateListener.java |
6,402 | public interface StoreReadLayer
{
boolean nodeHasLabel( KernelStatement state, long nodeId, int labelId ) throws EntityNotFoundException;
PrimitiveIntIterator nodeGetLabels( KernelStatement state, long nodeId ) throws EntityNotFoundException;
Iterator<IndexDescriptor> indexesGetForLabel( KernelStatement s... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_api_store_StoreReadLayer.java |
6,403 | public interface Loader<E>
{
/**
* Load the entity, or null if no entity exists.
*/
E loadById( long id );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_cache_AutoLoadingCache.java |
6,404 | public interface Cache<E extends EntityWithSizeObject>
{
/**
* Returns the name of the cache.
*
* @return name of the cache
*/
String getName();
/**
* Adds {@code element} to the cache. This operation is atomic and will not put the element into the cache
* if there were a prev... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_cache_Cache.java |
6,405 | public interface EntityWithSizeObject extends SizeOfObject
{
/**
* Id of this entity.
* @return the id of this entity.
*/
long getId();
/**
* Sets the size which was registered with the cache which this entity is in.
* @param size the size to store for future retrieval in {@lin... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_cache_EntityWithSizeObject.java |
6,406 | public interface Monitor {
void purged( long sizeBefore, long sizeAfter, int numberOfEntitiesPurged );
} | false | enterprise_ha_src_main_java_org_neo4j_kernel_impl_cache_HighPerformanceCache.java |
6,407 | public interface ReferenceWithKey<KEY, VALUE>
{
interface Factory
{
<FK, FV> ReferenceWithKey<FK, FV> newReference( FK key, FV value, ReferenceQueue<? super FV> queue );
}
KEY key();
VALUE get();
void clear();
boolean enqueue();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_cache_ReferenceWithKey.java |
6,408 | interface Factory
{
<FK, FV> ReferenceWithKey<FK, FV> newReference( FK key, FV value, ReferenceQueue<? super FV> queue );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_cache_ReferenceWithKey.java |
6,409 | public interface SizeOfObject
{
/**
* @return the size in bytes of the state of this object including its object overhead (16b).
*/
int sizeOfObjectInBytesIncludingOverhead();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_cache_SizeOfObject.java |
6,410 | public interface CacheAccessBackDoor
{
void removeNodeFromCache( long nodeId );
void removeRelationshipFromCache( long id );
void removeRelationshipTypeFromCache( int id );
void removeGraphPropertiesFromCache();
void addSchemaRule( SchemaRule schemaRule );
void removeSchemaRuleF... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_CacheAccessBackDoor.java |
6,411 | public interface Caches
{
void configure( CacheProvider cacheProvider, Config config );
Cache<NodeImpl> node();
Cache<RelationshipImpl> relationship();
void invalidate();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_Caches.java |
6,412 | public interface EntityFactory
{
Node newNodeProxyById( long id );
Relationship newRelationshipProxyById( long id );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_EntityFactory.java |
6,413 | public interface GraphProperties extends PropertyContainer
{
NodeManager getNodeManager();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_GraphProperties.java |
6,414 | public interface LastTxIdGetter
{
long getLastTxId();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_LastTxIdGetter.java |
6,415 | static enum LoadStatus
{
NOTHING( false, false ),
LOADED_END( true, false ),
LOADED_MORE( true, true );
private final boolean loaded;
private final boolean more;
private LoadStatus( boolean loaded, boolean more )
{
this.loaded = loaded;
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_NodeImpl.java |
6,416 | public interface NodeLookup
{
NodeImpl lookup( long nodeId );
GraphDatabaseService getGraphDatabase();
NodeManager getNodeManager();
NodeImpl lookup( long nodeId, LockType lock );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_NodeProxy.java |
6,417 | public interface RelationshipLookups
{
Node newNodeProxy( long nodeId );
RelationshipImpl lookupRelationship(long relationshipId);
GraphDatabaseService getGraphDatabaseService();
NodeManager getNodeManager();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_RelationshipProxy.java |
6,418 | private interface DynamicRecordCounter
{
long count();
} | false | community_kernel_src_test_java_org_neo4j_kernel_impl_core_TestLengthyArrayPacking.java |
6,419 | public interface TokenCreator
{
int getOrCreate( AbstractTransactionManager txManager, EntityIdGenerator idGenerator,
PersistenceManager persistence, String name );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_TokenCreator.java |
6,420 | public interface TransactionState
{
TransactionState NO_STATE = new NoTransactionState();
LockElement acquireWriteLock( Object resource );
LockElement acquireReadLock( Object resource );
ArrayMap<Integer, RelIdArray> getCowRelationshipAddMap( NodeImpl node );
RelIdArray getOrCreateCowRelationshi... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_TransactionState.java |
6,421 | public interface Work<RESULT, FAILURE extends KernelException>
{
RESULT perform( Statement statement ) throws FAILURE;
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_Transactor.java |
6,422 | public interface TxEventSyncHookFactory
{
/**
* Creates a new {@link TransactionEventsSyncHook} instance of there
* are any registered {@link TransactionEventHandler}s, else {@code null}.
* @return a new {@link TransactionEventsSyncHook} or {@code null} if
* there were no registered {@link Trans... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_core_TxEventSyncHookFactory.java |
6,423 | public interface InternalSchemaActions
{
IndexDefinition createIndexDefinition( Label label, String propertyKey );
void dropIndexDefinitions( Label label, String propertyKey );
ConstraintDefinition createPropertyUniquenessConstraint( Label label, String propertyKey )
throws IllegalTokenNameExc... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_coreapi_schema_InternalSchemaActions.java |
6,424 | private static enum RelTypes implements RelationshipType
{
TXEVENT
} | false | community_kernel_src_test_java_org_neo4j_kernel_impl_event_TestTransactionEvents.java |
6,425 | public interface Dependencies
{
InternalAbstractGraphDatabase getDatabase();
IndexProviders getIndexProviders();
} | false | community_kernel_src_test_java_org_neo4j_kernel_impl_index_DummyIndexExtensionFactory.java |
6,426 | public interface IndexXaConnection
{
void createIndex( Class<? extends PropertyContainer> entityType,
String indexName, Map<String, String> config );
boolean enlistResource( Transaction javaxTx )
throws SystemException, RollbackException;
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_index_IndexXaConnection.java |
6,427 | public interface LockService
{
enum LockType
{
READ_LOCK,
WRITE_LOCK
}
Lock acquireNodeLock( long nodeId, LockType type );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_locking_LockService.java |
6,428 | enum LockType
{
READ_LOCK,
WRITE_LOCK
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_locking_LockService.java |
6,429 | enum Benchmark
{
UNCONTENDED
{
@Override
void execute( Implementation impl )
{
int minThreads = Integer.getInteger( "minThreads", 1 );
int maxThreads = Integer.getInteger( "maxThre... | false | community_kernel_src_test_java_org_neo4j_kernel_impl_locking_LockServiceMicroBenchmark.java |
6,430 | enum Implementation
{
LOCK_MANAGER
{
@Override
LockService create()
{
return new AdaptedLockManager();
}
},
REENTRANT_LOCK_SERVICE
{
... | false | community_kernel_src_test_java_org_neo4j_kernel_impl_locking_LockServiceMicroBenchmark.java |
6,431 | public interface Task
{
void perform() throws Exception;
} | false | community_kernel_src_test_java_org_neo4j_kernel_impl_locking_ThreadRepository.java |
6,432 | public interface ThreadInfo
{
StackTraceElement[] getStackTrace();
Object blocker();
Thread.State getState();
} | false | community_kernel_src_test_java_org_neo4j_kernel_impl_locking_ThreadRepository.java |
6,433 | public interface BrickElementFactory
{
public static final BrickElementFactory DEFAULT = new BrickElementFactory()
{
@Override
public BrickElement create( int index )
{
return new BrickElement( index );
}
};
BrickElement create( int index );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_BrickElementFactory.java |
6,434 | public interface DynamicBlockSize
{
int getBlockSize();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_DynamicBlockSize.java |
6,435 | public interface DynamicRecordAllocator
{
int dataSize();
DynamicRecord nextUsedRecordOrNew( Iterator<DynamicRecord> recordsToUseFirst );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_DynamicRecordAllocator.java |
6,436 | public interface FileSystemAbstraction
{
StoreChannel open( File fileName, String mode ) throws IOException;
OutputStream openAsOutputStream( File fileName, boolean append ) throws IOException;
InputStream openAsInputStream( File fileName ) throws IOException;
Reader openAsReader( File fi... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_FileSystemAbstraction.java |
6,437 | interface ThirdPartyFileSystem
{
void close();
void dumpToZip( ZipOutputStream zip, byte[] scratchPad ) throws IOException;
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_FileSystemAbstraction.java |
6,438 | public interface IdGenerator
{
long nextId();
IdRange nextIdBatch( int size );
/**
* @param id the highest in use + 1
*/
void setHighId( long id );
long getHighId();
void freeId( long id );
/**
* Closes the id generator.
*/
void close();
long getNumberOf... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_IdGenerator.java |
6,439 | public interface IdSequence
{
long nextId();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_IdSequence.java |
6,440 | public enum LongerShortString
{
/**
* Binary coded decimal with punctuation.
*
* <pre>
* -0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -A -B -C -D -E -F
* 0- 0 1 2 3 4 5 6 7 8 9 SP . - + , '
* </pre>
*/
NUMERICAL( 1, 4 )
{
@Override
int encTranslate( ... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_LongerShortString.java |
6,441 | public enum OperationType
{
READ, WRITE
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_OperationType.java |
6,442 | private static enum State
{
EMPTY
{
@Override
State transition( OperationType operationType, PersistenceRow persistenceRow )
{
switch ( operationType)
{
case READ:
persistenceRow.readF... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_PersistenceRow.java |
6,443 | public interface PersistenceWindow
{
/**
* Returns the underlying buffer to this persistence window. Since a window
* may hold many records this gives access to all these records in one buffer.
* Changes to the returned buffer are applied when calling {@link #force()}.
*
* @return the unde... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_PersistenceWindow.java |
6,444 | @SuppressWarnings("UnnecessaryBoxing")
public enum PropertyType
{
BOOL( 1 )
{
@Override
public DefinedProperty readProperty( int propertyKeyId, PropertyBlock block, Provider<PropertyStore> store )
{
return Property.booleanProperty( propertyKeyId, getValue( block.getSingleValu... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_PropertyType.java |
6,445 | public enum Record
{
NOT_IN_USE( (byte) 0, 0 ),
IN_USE( (byte) 1, 1 ),
FIRST_IN_CHAIN( (byte) 2, 2 ),
RESERVED( (byte) -1, -1 ),
NO_NEXT_PROPERTY( (byte) -1, -1 ),
NO_PREVIOUS_PROPERTY( (byte) -1, -1 ),
NO_NEXT_RELATIONSHIP( (byte) -1, -1 ),
NO_PREV_RELATIONSHIP( (byte) -1, -1 ),
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_Record.java |
6,446 | enum RecordLoad
{
NORMAL, CHECK, FORCE
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_RecordLoad.java |
6,447 | public interface RecordSerializable
{
int length();
void serialize( ByteBuffer target );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_RecordSerializable.java |
6,448 | public interface RecordStore<R extends AbstractBaseRecord> extends IdSequence
{
File getStorageFileName();
WindowPoolStats getWindowPoolStats();
long getHighId();
long getHighestPossibleIdInUse();
R getRecord( long id );
Long getNextRecordReference( R record );
Collection<R> getRecords... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_RecordStore.java |
6,449 | public interface SchemaRule extends RecordSerializable
{
/**
* The persistence id for this rule.
*/
long getId();
/**
* @return id of label to which this schema rule has been attached
*/
int getLabel();
/**
* @return the kind of this schema rule
*/
Kind getKind();... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_SchemaRule.java |
6,450 | public static enum Kind
{
INDEX_RULE( 1, IndexRule.class )
{
@Override
protected SchemaRule newRule( long id, int labelId, ByteBuffer buffer )
{
return IndexRule.readIndexRule( id, false, labelId, buffer );
}
},
CONS... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_SchemaRule.java |
6,451 | public interface SchemaRuleAccess
{
SchemaRule loadSingleSchemaRule( long ruleId ) throws MalformedSchemaRuleException;
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_SchemaRuleAccess.java |
6,452 | public static enum IndexRuleKind
{
INDEX
{
@Override
public boolean isOfKind( IndexRule rule )
{
return !rule.isConstraintIndex();
}
},
CONSTRAINT
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_SchemaStorage.java |
6,453 | public enum ShortArray
{
BOOLEAN( PropertyType.BOOL, 1, Boolean.class, boolean.class )
{
@Override
int getRequiredBits( Object array, int arrayLength )
{
return 1;
}
@Override
void writeAll( Object array, int length, int requiredBits, Bits result )
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_ShortArray.java |
6,454 | public interface Store
{
/**
* Returns the id of next free record.
*
* @return The id of the next free record
*/
long nextId();
String getTypeDescriptor();
long getHighestPossibleIdInUse();
long getNumberOfIdsInUse();
WindowPoolStats getWindowPoolStats();
void logIdU... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_Store.java |
6,455 | public interface StoreChannel
extends SeekableByteChannel, GatheringByteChannel, ScatteringByteChannel, InterruptibleChannel
{
/**
* Attempts to acquire an exclusive lock on this channel's file.
* @return A lock object representing the newly-acquired lock, or null if the lock could not be acquired... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_StoreChannel.java |
6,456 | public static enum Charset
{
UNIFORM_ASCII
{
@Override
String randomString( int maxLen )
{
char[] chars = new char[random.nextInt( maxLen + 1 )];
for ( int i = 0; i < chars.length; i++ )
{
cha... | false | community_kernel_src_test_java_org_neo4j_kernel_impl_nioneo_store_TestShortString.java |
6,457 | public interface NodeLabels
{
long[] get( NodeStore nodeStore );
long[] getIfLoaded();
Collection<DynamicRecord> put( long[] labelIds, NodeStore nodeStore );
Collection<DynamicRecord> add( long labelId, NodeStore nodeStore );
Collection<DynamicRecord> remove( long labelId, NodeStore nodeStore );... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_labels_NodeLabels.java |
6,458 | public interface WindowPool
{
/**
* Acquires a windows for <CODE>position</CODE> and <CODE>operationType</CODE>
* locking the window preventing other threads from using it.
*
* @param position
* The position the needs to be encapsulated by the window
* @param operationType
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_windowpool_WindowPool.java |
6,459 | public interface WindowPoolFactory
{
WindowPool create( File storageFileName, int recordSize, StoreChannel fileChannel,
Config configuration, StringLogger log );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_store_windowpool_WindowPoolFactory.java |
6,460 | private interface DynamicRecordAdder<T>
{
void add( T target, DynamicRecord record );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_xa_Command.java |
6,461 | public enum Mode
{
CREATE,
UPDATE,
DELETE;
public static Mode fromRecordState( boolean created, boolean inUse )
{
if ( !inUse )
{
return DELETE;
}
if ( created )
{
return CREATE;
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_xa_Command.java |
6,462 | public interface CommandRecordVisitor
{
void visitNode( NodeRecord record );
void visitRelationship( RelationshipRecord record );
void visitProperty( PropertyRecord record );
void visitRelationshipTypeToken( RelationshipTypeTokenRecord record );
void visitLabelToken( LabelTokenRecord record );
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_xa_CommandRecordVisitor.java |
6,463 | public interface NeoStoreProvider extends Thunk<NeoStore>
{
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_xa_NeoStoreProvider.java |
6,464 | public interface PropertyReceiver
{
void receive( DefinedProperty property, long propertyRecordId );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_xa_NeoStoreTransaction.java |
6,465 | private enum Diagnostics implements DiagnosticsExtractor<NeoStoreXaDataSource>
{
NEO_STORE_VERSIONS( "Store versions:" )
{
@Override
void dump( NeoStoreXaDataSource source, StringLogger.LineLogger log )
{
source.neoStore.logVersions( log );
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_xa_NeoStoreXaDataSource.java |
6,466 | public interface PropertyRecordChange
{
PropertyRecord getBefore();
PropertyRecord getAfter();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_xa_PropertyRecordChange.java |
6,467 | public interface Loader<KEY,RECORD,ADDITIONAL>
{
RECORD newUnused( KEY key, ADDITIONAL additionalData );
RECORD load( KEY key, ADDITIONAL additionalData );
void ensureHeavy( RECORD record );
RECORD clone( RECORD record );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_nioneo_xa_RecordChanges.java |
6,468 | public interface EntityIdGenerator
{
long nextId( Class<?> clazz );
long getHighestPossibleIdInUse( Class<?> clazz );
long getNumberOfIdsInUse( Class<?> clazz );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_persistence_EntityIdGenerator.java |
6,469 | public interface PersistenceSource
{
/**
* Creates a resource connection to this persistence source.
* @param connection the {@link XaConnection} to use.
* @return a newly opened {@link NeoStoreTransaction} to this
* PersistenceSource
*/
NeoStoreTransaction createTransaction( Xa... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_persistence_PersistenceSource.java |
6,470 | public enum StoreFile
{
NEO_STORE( "NeoStore", "" ),
NODE_STORE( "NodeStore", StoreFactory.NODE_STORE_NAME ),
NODE_LABEL_STORE( "NodeLabelStore", StoreFactory.NODE_LABELS_STORE_NAME, false ),
PROPERTY_STORE( "PropertyStore", StoreFactory.PROPERTY_STORE_NAME ),
PROPERTY_ARRAY_STORE( "ArrayPropertySto... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_storemigration_StoreFile.java |
6,471 | public static enum Outcome
{
ok( true ),
missingStoreFile( false ),
storeVersionNotFound( false ),
unexpectedUpgradingStoreVersion( false );
private final boolean success;
private Outcome( boolean success )
{
this.success = success;
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_storemigration_StoreVersionCheck.java |
6,472 | public interface UpgradeConfiguration
{
void checkConfigurationAllowsAutomaticUpgrade();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_storemigration_UpgradeConfiguration.java |
6,473 | public interface MigrationProgressMonitor
{
void started();
void percentComplete(int percent);
void finished();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_storemigration_monitoring_MigrationProgressMonitor.java |
6,474 | public interface DataSourceRegistrationListener
{
void registeredDataSource( XaDataSource ds );
void unregisteredDataSource( XaDataSource ds );
class Adapter implements DataSourceRegistrationListener
{
@Override
public void registeredDataSource( XaDataSource ds )
{
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_DataSourceRegistrationListener.java |
6,475 | private enum Labels implements Label
{
MY_LABEL;
} | false | community_kernel_src_test_java_org_neo4j_kernel_impl_transaction_ExternalTransactionControlIT.java |
6,476 | public interface LockManager
{
/**
* Tries to acquire read lock on {@code resource} for a given
* transaction. If read lock can't be acquired the transaction will wait for
* the transaction until it can acquire it. If waiting leads to dead lock a
* {@link DeadlockDetectedException} will be throw... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_LockManager.java |
6,477 | public enum LockType
{
READ
{
@Override
public LockElement acquire( TransactionState state, Object resource )
{
return state.acquireReadLock( resource );
}
@Override
public void release( LockManager lockManager, Object resource, Transaction tx... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_LockType.java |
6,478 | public interface RemoteTxHook
{
void remotelyInitializeTransaction( int eventIdentifier, TransactionState state );
void remotelyFinishTransaction( int eventIdentifier, boolean success );
boolean freeIdsDuringRollback();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_RemoteTxHook.java |
6,479 | public interface TransactionIdFactory
{
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_TransactionIdFactory.java |
6,480 | public interface Monitor
{
void txStarted( Xid xid );
void txCommitted( Xid xid );
void txRolledBack( Xid xid );
void txManagerStopped();
public static class Adapter implements Monitor
{
@Override
public void txStarted( Xid xid )
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_TxManager.java |
6,481 | interface Seed
{
long nextRandomLong();
long nextSequenceId();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_XidImpl.java |
6,482 | public enum ForceMode
{
forced
{
@Override
public void force( LogBuffer buffer ) throws IOException
{
buffer.force();
}
},
unforced
{
@Override
public void force( LogBuffer buffer ) throws IOException
{
buffer.writeOut()... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_ForceMode.java |
6,483 | public interface InjectedTransactionValidator
{
// This is used by the lucene data source, and some tests for convenience.
InjectedTransactionValidator ALLOW_ALL = new InjectedTransactionValidator(){
@Override
public void assertInjectionAllowed( long lastCommittedTxWhenTransactionStarted ) thro... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_InjectedTransactionValidator.java |
6,484 | public interface LogApplier
{
void apply( LogEntry entry ) throws IOException;
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_LogApplier.java |
6,485 | public interface LogBuffer
{
LogBuffer put( byte b ) throws IOException;
LogBuffer putShort( short b ) throws IOException;
LogBuffer putInt( int i ) throws IOException;
LogBuffer putLong( long l ) throws IOException;
LogBuffer putFloat( float f ) throws IOException;
LogBuffer putDouble( dou... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_LogBuffer.java |
6,486 | public interface LogBufferFactory
{
/**
* Create a new active log file (a file that will be picked up and used for recovery), and return
* a log buffer that allows writing to the file. The resulting file should contain any necessary
* headers and so on, and allow directly appending new transactions.
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_LogBufferFactory.java |
6,487 | private interface LogEntryCollector
{
LogEntry collect( LogEntry entry, LogBuffer target ) throws IOException;
LogEntry.Start getLastStartEntry();
boolean hasInFutureQueue();
int getIdentifier();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_LogExtractor.java |
6,488 | public interface LogLoader
{
ReadableByteChannel getLogicalLogOrMyselfCommitted( long version, long position ) throws IOException;
long getHighestLogVersion();
File getFileName( long version );
/**
* @param version the log version to get first ... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_LogExtractor.java |
6,489 | private interface Threshold
{
boolean reached( File file, long version, LogLoader source );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_LogPruneStrategies.java |
6,490 | public interface LogPruneStrategy
{
void prune( LogLoader source );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_LogPruneStrategy.java |
6,491 | public interface RecoveryVerifier
{
RecoveryVerifier ALWAYS_VALID = new RecoveryVerifier()
{
@Override
public boolean isValid( TransactionInfo txInfo )
{
return true;
}
};
/**
* Performs a check for the transaction which was just recovered to see if ... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_RecoveryVerifier.java |
6,492 | public interface TransactionInterceptor extends CommandRecordVisitor
{
/**
* The main work method, supposed to be called by users when the whole
* required set of Commands has been met.
* The last operation in a normal completion scenario for this method
* must be calling complete() on the follo... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_TransactionInterceptor.java |
6,493 | public interface TransactionMonitor
{
void transactionCommitted( Xid xid, boolean recovered );
void injectOnePhaseCommit( Xid xid );
void injectTwoPhaseCommit( Xid xid );
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_TransactionMonitor.java |
6,494 | public interface Visitor
{
void visitStart( int localId, byte[] globalTransactionId, int masterId, int myId, long startTimestamp );
void visitPrepare( int localId, long prepareTimestamp );
void visitCommit( int localId, boolean twoPhase, long txId, long commitTimestamp );
void... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_TransactionReader.java |
6,495 | public interface TxIdGenerator
{
TxIdGenerator DEFAULT = new TxIdGenerator()
{
public long generate( XaDataSource dataSource, int identifier ) throws XAException
{
return dataSource.getLastCommittedTxId() + 1;
}
public int getCurrentMasterId()
{
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_TxIdGenerator.java |
6,496 | public interface XaConnection
{
/**
* Returns the <CODE>XAResource</CODE> held by this <CODE>XaConnection</CODE>.
*
* @return The resource associated with this connection
*/
XAResource getXaResource();
boolean enlistResource( Transaction javaxTx ) throws SystemException, RollbackExcept... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_XaConnection.java |
6,497 | public static enum State {
/**
* Old < b8 xaframework with no log rotation
*/
LEGACY_WITHOUT_LOG_ROTATION,
/**
* No .active file to tell us the state of
* affairs, and no legacy logical log file.
* TODO: Describe this state better.
... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_XaLogicalLogFiles.java |
6,498 | public interface XaResource extends XAResource
{
byte[] getBranchId();
} | false | community_kernel_src_main_java_org_neo4j_kernel_impl_transaction_xaframework_XaResource.java |
6,499 | public enum BranchCollisionPolicies implements BranchCollisionPolicy
{
/**
* @deprecated See {@link org.neo4j.graphdb.traversal.BranchCollisionPolicies}
*/
STANDARD;
@Override
public BranchCollisionDetector create( Evaluator evaluator )
{
return org.neo4j.graphdb.traversal.BranchC... | false | community_kernel_src_main_java_org_neo4j_kernel_impl_traversal_BranchCollisionPolicies.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.