Package net.officefloor.nosql.objectify
Class ObjectifyThreadSynchroniserFactory
java.lang.Object
net.officefloor.nosql.objectify.ObjectifyThreadSynchroniserFactory
- All Implemented Interfaces:
ThreadSynchroniserFactory
ThreadSynchroniserFactory that auto-registers itself with the
OfficeArchitect.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionObjectifyThreadSynchroniserFactory(com.googlecode.objectify.ObjectifyFactory objectifyFactory) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionCreates theThreadSynchroniserfor newThreadState.static Deque<com.googlecode.objectify.Objectify>getStack(com.googlecode.objectify.ObjectifyFactory objectifyFactory) Obtains theObjectifystack from theObjectifyFactory.
-
Constructor Details
-
ObjectifyThreadSynchroniserFactory
public ObjectifyThreadSynchroniserFactory(com.googlecode.objectify.ObjectifyFactory objectifyFactory) Instantiate.- Parameters:
objectifyFactory-ObjectifyFactory.
-
-
Method Details
-
getStack
public static Deque<com.googlecode.objectify.Objectify> getStack(com.googlecode.objectify.ObjectifyFactory objectifyFactory) Obtains theObjectifystack from theObjectifyFactory.- Parameters:
objectifyFactory-ObjectifyFactory.- Returns:
Objectifystack.
-
createThreadSynchroniser
Description copied from interface:ThreadSynchroniserFactoryCreates theThreadSynchroniserfor newThreadState.- Specified by:
createThreadSynchroniserin interfaceThreadSynchroniserFactory- Returns:
ThreadSynchroniserfor newThreadState.
-