org.neo4j.kernel.ha.com.master
Interface MasterImpl.SPI

Enclosing class:
MasterImpl

public static interface MasterImpl.SPI


Method Summary
 void acquireLock(MasterImpl.LockGrabber grabber, Object... entities)
           
 IdAllocation allocateIds(org.neo4j.kernel.IdType idType)
           
 long applyPreparedTransaction(String resource, ReadableByteChannel extract)
           
 Transaction beginTx()
           
 org.neo4j.com.Response<Void> copyTransactions(String dsName, long startTxId, long endTxId)
           
 Integer createRelationshipType(String name)
           
 void finishTransaction(boolean success)
           
 org.neo4j.helpers.Pair<Integer,Long> getMasterIdForCommittedTx(long txId)
           
 org.neo4j.kernel.impl.core.GraphProperties graphProperties()
           
 boolean isAccessible()
           
<T> org.neo4j.com.Response<T>
packResponse(org.neo4j.com.RequestContext context, T response, org.neo4j.helpers.Predicate<Long> filter)
           
 void pushTransaction(String resourceName, int eventIdentifier, long tx, int machineId)
           
 void resumeTransaction(Transaction transaction)
           
 org.neo4j.com.RequestContext rotateLogsAndStreamStoreFiles(org.neo4j.com.StoreWriter writer)
           
 org.neo4j.kernel.impl.nioneo.store.StoreId storeId()
           
 void suspendTransaction()
           
 

Method Detail

isAccessible

boolean isAccessible()

acquireLock

void acquireLock(MasterImpl.LockGrabber grabber,
                 Object... entities)

beginTx

Transaction beginTx()
                    throws SystemException,
                           NotSupportedException
Throws:
SystemException
NotSupportedException

finishTransaction

void finishTransaction(boolean success)

suspendTransaction

void suspendTransaction()
                        throws SystemException
Throws:
SystemException

resumeTransaction

void resumeTransaction(Transaction transaction)

graphProperties

org.neo4j.kernel.impl.core.GraphProperties graphProperties()

allocateIds

IdAllocation allocateIds(org.neo4j.kernel.IdType idType)

storeId

org.neo4j.kernel.impl.nioneo.store.StoreId storeId()

applyPreparedTransaction

long applyPreparedTransaction(String resource,
                              ReadableByteChannel extract)
                              throws IOException
Throws:
IOException

createRelationshipType

Integer createRelationshipType(String name)

getMasterIdForCommittedTx

org.neo4j.helpers.Pair<Integer,Long> getMasterIdForCommittedTx(long txId)
                                                               throws IOException
Throws:
IOException

rotateLogsAndStreamStoreFiles

org.neo4j.com.RequestContext rotateLogsAndStreamStoreFiles(org.neo4j.com.StoreWriter writer)

copyTransactions

org.neo4j.com.Response<Void> copyTransactions(String dsName,
                                              long startTxId,
                                              long endTxId)

packResponse

<T> org.neo4j.com.Response<T> packResponse(org.neo4j.com.RequestContext context,
                                           T response,
                                           org.neo4j.helpers.Predicate<Long> filter)

pushTransaction

void pushTransaction(String resourceName,
                     int eventIdentifier,
                     long tx,
                     int machineId)


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.