Class LocalFeedGenerator
- java.lang.Object
-
- org.alfresco.repo.activities.feed.AbstractFeedGenerator
-
- org.alfresco.repo.activities.feed.local.LocalFeedGenerator
-
- All Implemented Interfaces:
FeedGenerator
public class LocalFeedGenerator extends AbstractFeedGenerator
The local (ie. not grid) feed generator component is responsible for generating feed entries
-
-
Constructor Summary
Constructors Constructor Description LocalFeedGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleangenerate()intgetEstimatedGridSize()voidinit()voidsetBatchSize(int batchSize)voidsetFeedTaskProcessor(FeedTaskProcessor feedTaskProcessor)voidsetNumThreads(int numThreads)-
Methods inherited from class org.alfresco.repo.activities.feed.AbstractFeedGenerator
execute, getAuthenticationService, getMaxItemsPerCycle, getPostDaoService, getTransactionService, getWebScriptsCtx, setActivityPostServiceImpl, setAuthenticationService, setJobLockService, setMaxItemsPerCycle, setPostDAO, setRepoEndPoint, setSysAdminParams, setTransactionService, setUserNamesAreCaseSensitive
-
-
-
-
Method Detail
-
setFeedTaskProcessor
public void setFeedTaskProcessor(FeedTaskProcessor feedTaskProcessor)
-
setBatchSize
public void setBatchSize(int batchSize)
-
setNumThreads
public void setNumThreads(int numThreads)
-
getEstimatedGridSize
public int getEstimatedGridSize()
- Specified by:
getEstimatedGridSizein interfaceFeedGenerator- Specified by:
getEstimatedGridSizein classAbstractFeedGenerator
-
init
public void init() throws java.lang.Exception- Overrides:
initin classAbstractFeedGenerator- Throws:
java.lang.Exception
-
generate
protected boolean generate() throws java.lang.Exception- Specified by:
generatein classAbstractFeedGenerator- Throws:
java.lang.Exception
-
-